Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Why can't django connect to postgres managed database?
Greetings, are there any settings or other libraries I need to install to get my remote database from Digital Ocean to work with Django? I can connect to the database just fine, but when I connect through Django I get a failure which says:
Connecting to the PostgreSQL database... could not connect to server: Connection timed out (0x0000274C/10060) Is the server running on host "ADDRESS" (IP) and accepting TCP/IP connections on port 5432?
How can I edit the managed postgres server from Digital Ocean to allow the connections?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×