JDBC connection error
Posted by: Erica Maselli
Date: December 16, 2022 08:14AM

Hello everyone,

I state that I am a neophyte; I have a problem when I try to connect with jdbc both of the tomcat docker container and of a local host to the postgresql container I get this error:

"" org.postgresql.util.PSQLException: The connection attempt failed.
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:315) ~[postgresql-42.2.23.jar:42.2.23] "" etc.... etc....

The postgres accepts all incoming connections I've already checked

Who can help me?

Options: ReplyQuote


Subject
Written By
Posted
JDBC connection error
December 16, 2022 08:14AM
December 16, 2022 04:10PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.