lca143 Posted October 4, 2012 Share Posted October 4, 2012 summary: is there a blocked port that would deny outgoing pg_connect from heliohost to remote postgres? I am trying to use php to connect to a postgres database on a different site - the syntax is correct because I can connect to a postgres database on my same heliohost site. i am getting a timeout error when i run the php to connect to the remote host - it asks if my remote site is open and accepting tcp/ip on port 5432....telnet says it is. in my efforts to trace the problem - is that potentially blocked as an outgoing port on heliohost? i've seen other posts about random applications and seen that most ports are blocked (understandable) so i thought i would verify. (in case you were wondering why i would go through extra hoop of posting off domain - the remote postgres also has postgis and i am linking it to a different spatially enabled server behind same firewall...i digress) Link to comment Share on other sites More sharing options...
Krydos Posted October 4, 2012 Share Posted October 4, 2012 I'm a little surprised that 5432, the postgresql port, wasn't open by default. I opened it up for everyone. Let us know if you're still having trouble connecting to an external postgresql database. Link to comment Share on other sites More sharing options...
Recommended Posts