I’m using django 1.9, gunicorn, nginx and postgres as database for my website. My site is up and running but when i try to login as admin or user i get server error 500 on webpage and on terminal i get “is the server running on host 22.214.171.124 and accepting tcp/ip connections on port 5432”.
I thought there might be a problem in postgres.conf and pg_hba.conf. But there are 2 host all all…one for IPv4 and one for IPv6 in pg_hba.conf.
I can’t figure out how to edit pg_hba.conf. Please use above’s IP to explain.
One more thing will it solve the problem or i might need to do something else?
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.
Click below to sign up and get $100 of credit to try our products over 60 days!