Jump to content

Recommended Posts

Posted

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). 

 

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_root", 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 changed the title to [Solved] REMOTE POSTGRESQL ACCESS (JAVA SPRING)
  • Krydos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...