PostgreSQL: Pg_Restore to Amazon Web Service RDS Failed

0

I am trying to restore my local database using pg_restore command. My command line is-

pg_restore -v -h Amazonhostname -U dbsetup -C -d catalog_db < c:\Catalog_backup.tar

But I am getting the following error:

pg_restore: [archiver (db)] connection to database "catalog_db" failed: could not connect to server: Connection timed out (0x0000274C/10060) Is the server running on host amazonhostname (13.59.232.190) and accepting TCP/IP connections on port 5432?

How can I solve this?

postgresql
amazon-web-services
amazon-rds
pg-restore
asked on Stack Overflow Oct 25, 2017 by Rifat Rahman • edited Oct 26, 2017 by Vao Tsun

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0