D
D
dilianur2021-07-06 12:26:51
PostgreSQL
dilianur, 2021-07-06 12:26:51

Could not send data to server: Socket is not connected could not send SSL negotiation packet: Socket is not connected?

When opening query tool via pgadmin I get this error in a popup.

could not send data to server: Socket is not connected could not send SSL negotiation packet: Socket is not connected

Does anyone know why this is happening?

I'm working in ubuntu 20.04 under wsl, the terminal displays
psql --version
psql (PostgreSQL) 13.3 (Ubuntu 13.3-1.pgdg20.04+1)

My pg_hba.conf
# TYPE DATABASE USER ADDRESS METHOD

# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 127.0.0.1/32 trust
# IPv6 local connections:
host all all ::1/128 trust
# Allow replication connections from localhost, by a user with the
# replication privilege.
local replication all trust
host replication all 127.0.0.1/32 trust
host replication all ::1/128 trust

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question