org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

Stack Overflow | Akshat | 2 years ago
  1. 0

    postgres connection refused in swing

    Stack Overflow | 2 years ago | Akshat
    org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
  2. 0

    Upgraded HPDM from 4.5 to Service Pack 1 and 2. Now I can'... - HP Support Forum - 5047210

    hp.com | 1 year ago
    org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
  3. 0

    Connection refused. | dBforums – Everything on Databases, Design, Developers and Administrators

    dbforums.com | 1 year ago
    org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    DebianのPostgresqlに別の端末からJDBCで接続する - Symfoware

    fc2.com | 1 month ago
    org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
  6. 0

    Use Postgres passwords from .pgpass

    GitHub | 4 years ago | chris-martin
    org.postgresql.util.PSQLException: FATAL: password authentication failed for user "username"

  1. silex 15 times, last 1 month ago
  2. silex 8 times, last 7 months ago
  3. csanyigabor 1 times, last 5 months ago
25 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.postgresql.util.PSQLException

    Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.

    at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl()
  2. PostgreSQL JDBC Driver
    Driver.connect
    1. org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:207)
    2. org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)
    3. org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:136)
    4. org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:29)
    5. org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:21)
    6. org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:31)
    7. org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)
    8. org.postgresql.Driver.makeConnection(Driver.java:397)
    9. org.postgresql.Driver.connect(Driver.java:267)
    9 frames
  3. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames