jonas092034 Posted June 15, 2023 Posted June 15, 2023 Hey guys! I was wondering if I could get remote access to my postgresql server through java. My database is thiagoenca_carteira_inteligente_api and the user that I want to grant access to all ips if have user and password (and string connection). User: thiagoenca_jonas Also, would anyone know the best way to go about connecting to the postgresql server on java spring? Or is the standard method ok? org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "MY IP", user "thiagoenca_jonas", database "thiagoenca_carteira_inteligente_api", SSL on at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:693) ~[postgresql-42.5.4.jar:42.5.4] at org.postgresql.core.v3.ConnectionFactoryImpl.tryConnect(ConnectionFactoryImpl.java:203) ~[postgresql-42.5.4.jar:42.5.4]
Krydos Posted June 17, 2023 Posted June 17, 2023 On 6/15/2023 at 3:33 PM, jonas092034 said: My database is thiagoenca_carteira_inteligente_api and the user that I want to grant access to all ips if have user and password (and string connection). User: thiagoenca_jonas Remote access enabled. On 6/15/2023 at 3:33 PM, jonas092034 said: would anyone know the best way to go about connecting to the postgresql server on java spring? Or is the standard method ok? The standard method should work. Let us know if it doesn't work.
Recommended Posts