Forums

connection refused while using a external postgresql database from supabase in free tier. even when whitlisting the host.

19:00 ~/mysite $ psql -h db.dykodxebijlagtslwxmi.supabase.co -p 5432 -d postgres -U postgres psql: error: connection to server at "db.dykodxebijlagtslwxmi.supabase.co" (34.205.203.167), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections?

Free accounts can only connect out of PythonAnywhere using http(s) to sites on our allowlist. So database connections will not work in free accounts.