I've been following this guide: Accessing your PostgreSQL database from outside PythonAnywhere
I was able to create the SSH tunnel, but upon entering the pgAdmin 4 settings, it get an error which says: "channel 2: open failed: Connection refused." The "server dialog" hyperlink goes to a 404 page so I'm not certain if I've entered the required details, that said, the username and password are correct.
Any help would be much appreciated as I've been stuck on this for quite a while. Please see the following image for more info: