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 | Deepak Naik | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error in sending mail - ConnectException

    Stack Overflow | 4 years ago | Biswajit das
    java.net.ConnectException: Connection refused: connect
  2. 0

    Change IP in sdk

    Google Groups | 11 months ago | Vivek Shah
    org.apache.http.conn.HttpHostConnectException: Connect to localhost:9889 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
  3. 0

    Unable to connect to "Compose for PostgreSQL" DB created in bluemix through eclipse

    Stack Overflow | 8 months ago | Deepak Naik
    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

    Client and Server classes not running in JAR file

    Stack Overflow | 4 months ago | heater15
    java.net.ConnectException: Connection refused: connect
  6. 0

    java.net.ConnectException: Connection refused: connect error occured while load testing on Jmeter

    Stack Overflow | 3 months ago | Ranjith Raja
    java.net.ConnectException: Connection refused: connect

    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. java.net.ConnectException

      Connection refused: connect

      at java.net.DualStackPlainSocketImpl.connect0()
    2. Java RT
      DualStackPlainSocketImpl.socketConnect
      1. java.net.DualStackPlainSocketImpl.connect0(Native Method)
      2. java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
      2 frames