java.net.ConnectException: Connection refused

Oracle Community | 807596 | 1 decade 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

    Connection Refused Error

    Oracle Community | 10 years ago | 843790
    java.net.ConnectException: Connection refused
  2. 0

    A jsp server

    Oracle Community | 1 decade ago | 807596
    java.net.ConnectException: Connection refused
  3. 0

    Tomcat4 starts, but localhost8080 connection refused and stop reveals error

    Google Groups | 1 decade ago | testingForEchoes
    java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    DO NOT REPLY [Bug 5226] New: - Strange tomcat behavior

    tomcat-dev | 2 decades ago | bugzilla@apache.org
    java.net.ConnectException: Connection refused
  6. 0

    DO NOT REPLY [Bug 5227] New: - Strange tomcat behavior

    tomcat-dev | 2 decades ago | bugzilla@apache.org
    java.net.ConnectException: Connection refused

  1. poroszd 1 times, last 4 weeks ago
  2. rp 1 times, last 4 weeks ago
  3. QrCeric 17 times, last 1 month ago
  4. andyglick 56 times, last 3 months ago
  5. tomthomas 1 times, last 3 months ago
27 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

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    5. java.net.Socket.connect(Socket.java:452)
    6. java.net.Socket.connect(Socket.java:402)
    7. java.net.Socket.<init>(Socket.java:309)
    8. java.net.Socket.<init>(Socket.java:124)
    8 frames
  3. Glassfish Core
    Catalina.process
    1. org.apache.catalina.startup.Catalina.stop(Catalina.java:581)
    2. org.apache.catalina.startup.Catalina.execute(Catalina.java:402)
    3. org.apache.catalina.startup.Catalina.process(Catalina.java:180)
    3 frames
  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:324)
    4 frames
  5. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
    1 frame