The problem comes from the getHostName() call in org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(InetSocketAddress[], String, String, Properties, Logger). doAuthentication(newStream, address.getHostName(), user, info, logger);
pgsql-jdbc by date:
Соглашаюсь с условиями обработки персональных данных