Forums

connecting to pythonanywhere postgres database from pgAdmin

For some reason I can't connect to my Postgres database form PgAdmin. I've been able to do this in the past but keep getting errors. "server closed the connection unexpectedly..."

You need to use an SSH tunnel as described in this help page.

Thanks. Yes. I use SSH tunnel regularly with no issues. The challenge I have is connecting to the database. This has worked for me in the past but for some reason it keeps giving me the "server closed the connection unexpectedly..." error.

And nothing changed in your settings/credentials?

I have the same problem!!

@mazziitoozzb What are the exact symptoms? Did it work for you in the past with the same settings?