The server doesn ' t grant access to the Database:the server reports
Fatal:no pg_hba.conf entry for host ' 192.168.0.123 ', user ' postgres ', database ' Postgres ' fatal:no pg_hba.conf entry for Host "192.168.0.123", User "Postgres", Database "Postgres"
PostgreSQL database for security, it does not listen for all connection requests except local, and when the user accesses through JDBC, it will report some of the following exceptions:
Org.PostgreSQL. Util. Psqlexception:fatal: no pg_hba. Conf entry for host
To solve this problem, you only need to find/data/Pg_hba in the installation directory of the PostgreSQL database. conf, find "# IPV4 local connections:"
The machine IP under which the request connection is added
Host All 127.0.0.1/32 MD5
32 is the network segment of the subnet mask; MD5 is a password authentication method that can be changed to trust
PostgreSQL connection Problem Fatal:no pg_hba.conf entry for host