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

When I want to open pgAdmin 4, this message appears:

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

I have changed the posgresql.conf file in the following way:

listen_addresses = '*'
port = 5432

However, the message keeps appearing. What should I do?

3

1 Answer

I just tried to change the properties of PostgreSQL and revised the port to 5433 instead of 5432. Hope it works for you, too!

Demo image1

Demo image2

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like