com.mirth.connect.client.core.ClientException: java.net.ConnectException: Connection refused

Mirth Project | lin xd | 4 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0

    I have mapped a local ip to a wan ip+port, for example, localhost 192.168.1.100:10000 to a wan ip(118.122.165.33) :100000 I can do login with administrator (GUI), but can't do with webadmin: error : I added debug info: ===https://118.122.165.33:10013 ERROR 2013-05-06 21:23:01,861 [qtp180831905-202] Server: com.mirth.connect.client.core.ClientException: java.net.ConnectException: Connection refused ERROR 2013-05-06 21:23:01,862 [qtp180831905-202] Server: at com.mirth.connect.client.core.ServerConnection.executePostMethod(Unknown Source) ERROR 2013-05-06 21:23:01,862 [qtp180831905-202] Server: at com.mirth.connect.client.core.Client.login(Unknown Source) ERROR 2013-05-06 21:23:01,862 [qtp180831905-202] Server: at com.mirth.connect.webadmin.action.LoginActionBean.login(LoginActionBean.java:39) ERROR 2013-05-06 21:23:01,863 [qtp180831905-202] Server: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ERROR 2013-05-06 21:23:01,863 [qtp180831905-202] Server: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ERROR 2013-05-06 21:23:01,864 [qtp180831905-202] Server: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ERROR 2013-05-06 21:23:01,864 [qtp180831905-202] Server: at java.lang.reflect.Method.invoke(Method.java:601) ERROR 2013-05-06 21:23:01,865 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.DispatcherHelper$6.intercept(DispatcherHelper.java:456) ERROR 2013-05-06 21:23:01,865 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158) ERROR 2013-05-06 21:23:01,865 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113) ERROR 2013-05-06 21:23:01,866 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) ERROR 2013-05-06 21:23:01,866 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74) ERROR 2013-05-06 21:23:01,867 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.DispatcherHelper.invokeEventHandler(DispatcherHelper.java:454) ERROR 2013-05-06 21:23:01,867 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.DispatcherServlet.invokeEventHandler(DispatcherServlet.java:278) ERROR 2013-05-06 21:23:01,868 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:160) ERROR 2013-05-06 21:23:01,868 [qtp180831905-202] Server: at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ERROR 2013-05-06 21:23:01,869 [qtp180831905-202] Server: at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) ERROR 2013-05-06 21:23:01,869 [qtp180831905-202] Server: at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329) ERROR 2013-05-06 21:23:01,869 [qtp180831905-202] Server: at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260) ERROR 2013-05-06 21:23:01,870 [qtp180831905-202] Server: at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) ERROR 2013-05-06 21:23:01,870 [qtp180831905-202] Server: at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) ERROR 2013-05-06 21:23:01,871 [qtp180831905-202] Server: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) ERROR 2013-05-06 21:23:01,871 [qtp180831905-202] Server: at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:559) ERROR 2013-05-06 21:23:01,872 [qtp180831905-202] Server: at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) ERROR 2013-05-06 21:23:01,872 [qtp180831905-202] Server: at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038) ERROR 2013-05-06 21:23:01,872 [qtp180831905-202] Server: at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374) ERROR 2013-05-06 21:23:01,873 [qtp180831905-202] Server: at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) ERROR 2013-05-06 21:23:01,873 [qtp180831905-202] Server: at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972) ERROR 2013-05-06 21:23:01,874 [qtp180831905-202] Server: at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) ERROR 2013-05-06 21:23:01,874 [qtp180831905-202] Server: at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) ERROR 2013-05-06 21:23:01,875 [qtp180831905-202] Server: at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) ERROR 2013-05-06 21:23:01,875 [qtp180831905-202] Server: at org.eclipse.jetty.server.Server.handle(Server.java:363) ERROR 2013-05-06 21:23:01,876 [qtp180831905-202] Server: at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483) ERROR 2013-05-06 21:23:01,876 [qtp180831905-202] Server: at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:931) ERROR 2013-05-06 21:23:01,876 [qtp180831905-202] Server: at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:992) ERROR 2013-05-06 21:23:01,876 [qtp180831905-202] Server: at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856) ERROR 2013-05-06 21:23:01,877 [qtp180831905-202] Server: at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) ERROR 2013-05-06 21:23:01,877 [qtp180831905-202] Server: at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) ERROR 2013-05-06 21:23:01,877 [qtp180831905-202] Server: at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196) ERROR 2013-05-06 21:23:01,878 [qtp180831905-202] Server: at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627) ERROR 2013-05-06 21:23:01,878 [qtp180831905-202] Server: at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51) ERROR 2013-05-06 21:23:01,878 [qtp180831905-202] Server: at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) ERROR 2013-05-06 21:23:01,878 [qtp180831905-202] Server: at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) ERROR 2013-05-06 21:23:01,879 [qtp180831905-202] Server: at java.lang.Thread.run(Thread.java:722) ERROR 2013-05-06 21:23:01,879 [qtp180831905-202] Server: Caused by: java.net.ConnectException: Connection refused ERROR 2013-05-06 21:23:01,880 [qtp180831905-202] Server: at java.net.PlainSocketImpl.socketConnect(Native Method) ERROR 2013-05-06 21:23:01,880 [qtp180831905-202] Server: at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) ERROR 2013-05-06 21:23:01,880 [qtp180831905-202] Server: at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) ERROR 2013-05-06 21:23:01,880 [qtp180831905-202] Server: at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) ERROR 2013-05-06 21:23:01,881 [qtp180831905-202] Server: at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) ERROR 2013-05-06 21:23:01,881 [qtp180831905-202] Server: at java.net.Socket.connect(Socket.java:579) ERROR 2013-05-06 21:23:01,881 [qtp180831905-202] Server: at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:612) ERROR 2013-05-06 21:23:01,882 [qtp180831905-202] Server: at org.apache.commons.ssl.Java14.connectSocket(Java14.java:190) ERROR 2013-05-06 21:23:01,882 [qtp180831905-202] Server: at org.apache.commons.ssl.Java14.buildSocket(Java14.java:153) ERROR 2013-05-06 21:23:01,882 [qtp180831905-202] Server: at org.apache.commons.ssl.JavaImpl.createSocket(JavaImpl.java:206) ERROR 2013-05-06 21:23:01,882 [qtp180831905-202] Server: at org.apache.commons.ssl.SSL.createSocket(SSL.java:543) ERROR 2013-05-06 21:23:01,883 [qtp180831905-202] Server: at org.apache.commons.ssl.SSLClient.createSocket(SSLClient.java:221) ERROR 2013-05-06 21:23:01,883 [qtp180831905-202] Server: at org.apache.commons.ssl.HttpSecureProtocol.createSocket(HttpSecureProtocol.java:90) ERROR 2013-05-06 21:23:01,883 [qtp180831905-202] Server: at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) ERROR 2013-05-06 21:23:01,884 [qtp180831905-202] Server: at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321) ERROR 2013-05-06 21:23:01,884 [qtp180831905-202] Server: at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) ERROR 2013-05-06 21:23:01,884 [qtp180831905-202] Server: at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) ERROR 2013-05-06 21:23:01,885 [qtp180831905-202] Server: at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) ERROR 2013-05-06 21:23:01,885 [qtp180831905-202] Server: at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)

    Mirth Project | 4 years ago | lin xd
    com.mirth.connect.client.core.ClientException: java.net.ConnectException: Connection refused
  2. 0
    samebug tip
    Check if ip adress is correct, if the port is correct, and if the server is up and running and waiting for connections. Also, check if there's no firewall blocking you and if your internet connection is working.
  3. 0

    Plugin malforms https-URL

    GitHub | 3 years ago | malenki
    org.openstreetmap.josm.io.OsmTransferException: java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Source cannot be compiled

    GitHub | 2 years ago | confile
    java.net.ConnectException: Connection refused
  6. 0

    Connection refused to Twitter via spring-social

    Stack Overflow | 2 years ago | Cuzz
    org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://api.twitter.com/oauth/request_token": Connection refused; nested exception is java.net.ConnectException: Connection refused

  1. Andreas Häber 1 times, last 2 weeks ago
  2. mortalman7 1 times, last 10 months ago
  3. kid 5 times, last 1 year ago
  4. pulse00 37 times, last 1 day ago
  5. osvzs 1 times, last 6 days ago
66 more registered users
29 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.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
    6. java.net.Socket.connect(Socket.java:579)
    6 frames
  3. Java JSSE
    SSLSocketImpl.connect
    1. sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:612)
    1 frame
  4. Not Yet Commons SSL
    HttpSecureProtocol.createSocket
    1. org.apache.commons.ssl.Java14.connectSocket(Java14.java:190)
    2. org.apache.commons.ssl.Java14.buildSocket(Java14.java:153)
    3. org.apache.commons.ssl.JavaImpl.createSocket(JavaImpl.java:206)
    4. org.apache.commons.ssl.SSL.createSocket(SSL.java:543)
    5. org.apache.commons.ssl.SSLClient.createSocket(SSLClient.java:221)
    6. org.apache.commons.ssl.HttpSecureProtocol.createSocket(HttpSecureProtocol.java:90)
    6 frames
  5. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
    2. org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321)
    3. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
    4. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
    5. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
    6. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
    6 frames