M
M
Max Trophy2017-01-18 12:13:19
linux
Max Trophy, 2017-01-18 12:13:19

Remote database connections fail, what could be the problem?

When connecting, an error occurs:
psql: could not connect to server: Connection refused
Is the server running on host "my ip" and accepting
TCP/IP connections on port 5432?
Set listen_addresses = '*'
In addition, host all all 0.0.0.0/0 md5 is written in pg_hba.conf
5caf5f056fb148609ae24a3540db7ede.PNG
What else could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
planc, 2017-01-18
@kapitoly

пишем в гугле postgresql allow remote connections
и узнаем, что нужно добавить в pg_hba.conf разрешенные хосты типа:
host all all 192.168.101.20 trust

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question