Connect Remote Database (Postgres) From PSQL

PHOTO EMBED

Mon Feb 14 2022 07:02:20 GMT+0000 (Coordinated Universal Time)

Saved by @irfan309 #psql #postgres #remotedb

$ psql -h <host> -p <port> -U <username> <database>
content_copyCOPY

using this cmd we can connect to remote DB server from window psql which it comes up with PgAdmin