In local the form runs well, correct?

Then probably the problem is generated by the firewall, check firewall log messages and configuration settings

Cheers

Angel