Forums

psycopg2.OperationalError

psycopg2.OperationalError: connection to server at "myserver.mysql.pythonanywhere-services.com" (IP), port 5432 failed: Connection timed out (0x0000274C/10060) Is the server running on that host and accepting TCP/IP connections? Here is the error when running the code Does pythonanywhere have any amazon-like security settings, something like blocking ports before packets reach the server itself?

On free account you can connect only with your PA database (external services would not work); myserver.mysql.pythonanywhere-services.com doesn't seem correct, though.