Doveps / mono

Code for Doveps projects
http://doveps.com
MIT License
0 stars 0 forks source link

02-22-2018 Report #106

Closed JosiahRegencia closed 6 years ago

JosiahRegencia commented 6 years ago

Still stuck with this

OperationalError: could not connect to server: Connection refused Is the server running on host "0.0.0.0" and accepting TCP/IP connections on port 5432?

tried solutions from here: https://stackoverflow.com/questions/44933326/trouble-connecting-to-postgresql-in-python-with-psycopg2

but there doesn't seem to be any postgresql.conf inside the db container when accessing it using docker run. The touch command doesn't create the files either.

Still trying to search for solutions.

zerstoeren commented 6 years ago

are you saying that the postgres isn't running, isn't installed, or isn't allowing connections?

JosiahRegencia commented 6 years ago

Isn't allowing connections

greenmoss commented 6 years ago

This is torture for you, I think 😄 I am going to take a look this weekend and see if I can iron out all the Docker issues. Meanwhile, check the IP you are connecting to. "Connection refused" means the service is not listening on that port.

JosiahRegencia commented 6 years ago

Will do.