Connect to Azure Database for PostgreSQL flexible server from SQL Shell
Vidar
21
Reputation points
hi
I'm trying to connect to my postgres flexible server from my office PC using PSQL shell. That's it - nothing complex, just complete beginner stuff here! I won't even get onto Navicat here...
When I get to the enter username: and press return, I get this error:
error: could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "foo-flex-server.postgres.database.azure.com" (23.38.145.57) and accepting TCP/IP connections on port 5432?
I have added my IP of my office/dev PC computer to the whitelist too, but this doesn't seem to have changed anything.
Don't know where to start with this one. Any ideas?
Azure Database for PostgreSQL
Azure Database for PostgreSQL
An Azure managed PostgreSQL database service for app development and deployment.
1,427 questions
Sign in to answer