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

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

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

    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.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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.
  6. 0

    Error while creating connection pool "FATA... | Oracle Community

    oracle.com | 1 year ago
    org.postgresql.util.PSQLException: FATAL: database "null" does not exist

  1. silex 13 times, last 15 hours ago
  2. silex 8 times, last 6 months ago
  3. csanyigabor 1 times, last 3 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