Timeline for answer to Connect to remote EC2 Postgresql database by Jeff Sacksteder
Current License: CC BY-SA 3.0
Post Revisions
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 12, 2015 at 13:22 | comment | added | SPRBRN | It turned out to be a problem with the postgresql.conf file. This wasn't configured properly. | |
| Feb 12, 2015 at 13:22 | vote | accept | SPRBRN | ||
| Feb 10, 2015 at 16:57 | comment | added | Jeff Sacksteder | And you did a telnet 5432? If so you have an issue on the host- either os-level(firewalling) or app-level(postgres hba conf). Netstat -an on the host should show if the postgres service is listening on that port. | |
| Feb 10, 2015 at 16:09 | comment | added | SPRBRN |
Ping works. I can login to the database server using SSH, from my desktop and from the webserver using the 10.x.x.x address. Telnet: Unable to connect to remote host: Connection refused. I can connect to postgres via an SSH tunnel.
|
|
| Feb 10, 2015 at 14:39 | history | answered | Jeff Sacksteder | CC BY-SA 3.0 |