I was able to fix the issue and successfully connect my pgAdmin to my database, which is hosted by Render. (This statement is different than
or opposite of your statement "connecting my db from render to pgAdmin").
Anyway, the issue seems to be ‘Host name/address’ under Connection tab in PgAdmin. Go to Render.com -> Dashboard -> Choose your Postgres database -> Info -> Scroll down to External Database URL (Ignore Hostname).
External Database URL should be something like this
2
Answers
I haven’t used render DB before, but I will suggest you check if your render DB instance is created as public, or allows external connection.
I was able to fix the issue and successfully connect my pgAdmin to my database, which is hosted by Render. (This statement is different than
or opposite of your statement "connecting my db from render to pgAdmin").
Anyway, the issue seems to be ‘Host name/address’ under Connection tab in PgAdmin. Go to Render.com -> Dashboard -> Choose your Postgres database -> Info -> Scroll down to External Database URL (Ignore Hostname).
External Database URL should be something like this
Now, copy only the following portion and paste it to ‘Host name/address’ under Connection tab in PgAdmin: