java.net.ConnectException: Connection refused: connect

liferay.com | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    RE: Connecting to a SQL database - Forums | Liferay

    liferay.com | 2 years ago
    java.net.ConnectException: Connection refused: connect
  2. 0

    RE: Connecting to a SQL database - Forums | Liferay

    liferay.com | 2 years ago
    java.net.ConnectException: Connection refused: connect
  3. 0

    RE: Connecting to a SQL database - Forums

    liferay.com | 9 months ago
    java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    RE: Connecting to a SQL database - Forums

    liferay.com | 9 months ago
    java.net.ConnectException: Connection refused: connect
  6. 0

    i can't deploy my java app using tomcat and postgresql zk Linux

    Stack Overflow | 2 years ago
    java.net.ConnectException: Connection refused: connect

  1. Casper 1 times, last 5 days ago
  2. QrCeric 1 times, last 2 weeks ago
  3. tomthomas 1 times, last 3 months ago
  4. chenjunjun 11 times, last 1 month ago
  5. treefolk 8 times, last 3 months ago
29 more registered users
65 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. java.net.ConnectException

    Connection refused: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:520)
    7. java.net.Socket.connect(Socket.java:470)
    8. java.net.Socket.<init>(Socket.java:367)
    9. java.net.Socket.<init>(Socket.java:180)
    9 frames
  3. Glassfish Core
    Catalina.stopServer
    1. org.apache.catalina.startup.Catalina.stopServer(Catalina.java:421)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  5. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:337)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:415)
    2 frames