org.postgresql.util.PSQLException: The connection attempt failed.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Brian Wong, 1 year ago
The connection attempt failed.
via GitHub by jangithub
, 1 year ago
The connection attempt failed.
via JIRA by Brian Wong, 1 year ago
The connection attempt failed.
via Google Groups by Jesse Yates, 6 months ago
Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
via Stack Overflow by Anand A
, 8 months ago
Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
via Google Groups by Christo Romberg, 3 months ago
FATAL: password authentication failed for user "dspace" [java] at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication ConnectionFactoryImpl.java:275)
org.postgresql.util.PSQLException: The connection attempt failed.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.