0

I am trying to take a dump of the rds postgres in local. I am able to connect to the db via ssh in Dbeaver by localhost:2483

But when I issue the following command in cmd prompt. I am getting the following error. what am I doing wrong

pg_dump -v -C -h localhost:2483 -U SSOXXXXX -f dump.sql -d ev_event_db -p 2483 -v

Error:

pg_dump: error: connection to database "ev_event_db" failed: could not translate host name "localhost:2483" to address: Unknown host
Anonymous Asked question May 14, 2021