1

I have created an amazon ec2 ubuntu instance and installed postgres in it but unable to connect it. I have enabled security group HTTP(80), Postgres(5432) and ssh(22).

While connect in pgadmin following errors are thrown Server doesn't listen

The server doesn't accept connections: the connection library reports 
could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "54.172.***.***" and accepting TCP/IP connections on port 5432?
Dmitry S
  • 4,990
  • 2
  • 24
  • 32
shyam karwa
  • 213
  • 1
  • 3
  • 8
  • Try to find the answer on your own or at least try - http://stackoverflow.com/a/20830893/3961156 – Dmitry S Nov 28 '15 at 04:35
  • Possible duplicate of [Connection refused (PGError) (postgresql and rails)](http://stackoverflow.com/questions/16904997/connection-refused-pgerror-postgresql-and-rails) – Dmitry S Nov 28 '15 at 04:36

0 Answers0