Database Configuration Error

11 views
Skip to first unread message

Soumen Khatua

unread,
Jun 29, 2019, 1:23:06 PM6/29/19
to django...@googlegroups.com
Hi Folks,
 
I'm uisng Digital Ocean provided VPS and I'm using PostgreSQL and I'm gettings this error,
  
File "/home/sai/saiproject/env/lib/python3.5/site-packages/psycopg2/__init__.py", line 126, in connect
    conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError: could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?



Please help me,guys.
Thank you

Regards,
Soumen
Reply all
Reply to author
Forward
0 new messages