The Community is hosting an End of Summer sweepstakes! Participants must complete tasks to earn tickets that will enter them with a chance to win a free year of Constant Contact and other great prizes!*
*No Purchase Necessary. For Official Rules, visit here. Constant Contact’s End of Summer 2020 Sweepstakes ends on October, 20, 2020 at 11:50 PM EST.

Moved hosts, PHP form died

Frequent Visitor

Moved hosts, PHP form died

We recently switched to a new web server and our signup PHP form has stopped working.  I have verified the code is the same on both servers and even stripped down the example form and tested at both the new address and the old IP.  The new server is giving me a couldn't connect to host error after a long delay.  Both machines are PHP5 and have cURL installed. 


My stripped down example page that is working on the old server, but not this server-


Thanks for any assistance,







Re: Moved hosts, PHP form died

Hi Rob,


It would be worth checking with the company hosting the site (if it's external to you) to make sure there isn't a reason on their end that this is happening.  


Something may be different from one environment to another that could be causing this, but if the only difference you see is the originating IP address, you can email for us to make sure that we're not blocking traffic from your new IP [range].  This happens sometimes if you are using an IP that got a bad reputation from a previous user.


Best Regards,

Shannon W.

API Support Specialist

Developer Portal

View API documentation, code samples, get your API key.

Visit Page

Constant Contact 2020 End of Summer Community Sweepstakes!

The Constant Contact User Community is hosting a sweepstakes. The more you participate, the more chances you have to win! Read on to learn more...

Read More