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?

