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]