Home > database >  Can remote machine by IP connection, but not through the hostname to connect
Can remote machine by IP connection, but not through the hostname to connect

Time:09-22

As title,
Has built a Postgresql DB server, already set can connect remotely via IP,
Now wants to connect a host name, but the connection is not on,
Error: FATAL: no pg_hba. Conf entry for the host

CodePudding user response:

Hba. Conf did not have a permit to configure the host name, or your host name could not be PGSQL server parsed

CodePudding user response:

Haven't heard with the host name of the remote connection, the application of normal IP connection, but can try the connection request host Settings/etc/hosts file, the server IP and host name added to the hosts file, format: 192.168.2.215 test1

CodePudding user response:

It is ok to configure pg_hba. Conf,

CodePudding user response:

reference no. 1 floor ZJCXC -- personal WeChat public same response:
hba. Conf did not have a permit to configure the host name, or your host name could not be PGSQL server parsed

  • Related