I have a problem on accessing PostgreSQL from remote server(PostgreSQL is installed on a remote server,which is a windows machine) .
PostgreSQL is running and I can access it on the remote machine.
I am getting the error as following
Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "???" and accepting TCP/IP connections on port 5432? in C:\xampp\htdocs\............. on line 692
So is port 5432 open? Could be a few things closing it, what does the network topography look like?