Forums

Can I connect to remote databases on PA free tier?

When trying to connect to a remote db on pythonanywhere free tier I get this error: """ connection to server at "xxxxxx.c.aivencloud.com" (xxxxx), port xxxxx failed: Connection refused Is the server running on that host and accepting TCP/IP connections? """

Is that because pythonanywhere prevents connecting to remote databases on free tier as mentioned on this reddit comment?

No, you cannot connect to external databases from a free account.