com.mirth.connect.client.core.ClientException

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.


rafael
tip

Check if your MongoDB is available.


rp
tip

host port isnt set

tip

To restart the Selenium Webdriver mock browser in a testcase, first use 'driver.close()' and then reinstantiate the driver.

tip

Firewall might be blocking your connection, or MySQL it's not running on your server machine.


rafael
tip

Check if you have started your server, or if your server is set to listen to the port you're trying to connect and is waiting to accept connections and check if the firewall isn't blocking your connection.


rafael
tip

spring-data-redis requires redis 2.6+ to work properly.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 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)
    via by lin xd,
  • Plugin malforms https-URL
    via GitHub by malenki
    ,
  • Source cannot be compiled
    via GitHub by confile
    ,
  • Connection refused to Twitter via spring-social
    via Stack Overflow by Cuzz
    ,
  • Send mail using rnote domino in Java
    via Stack Overflow by J33nn
    ,
  • Mail Service Problem
    via by Kumaravel Arunachalam,
  • GitHub comment 85#89873775
    via GitHub by philsttr
    ,
  • GitHub comment 2#68446867
    via GitHub by confile
    ,
  • Cannot HTTPS IPT instance
    via GitHub by dbaars
    ,
    • com.mirth.connect.client.core.ClientException: java.net.ConnectException: Connection refused at com.mirth.connect.client.core.ServerConnection.executePostMethod(Unknown Source) at com.mirth.connect.client.core.Client.login(Unknown Source) at com.mirth.connect.webadmin.action.LoginActionBean.login(LoginActionBean.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at net.sourceforge.stripes.controller.DispatcherHelper$6.intercept(DispatcherHelper.java:456) at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158) at net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:113) at net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155) at net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74) at net.sourceforge.stripes.controller.DispatcherHelper.invokeEventHandler(DispatcherHelper.java:454) at net.sourceforge.stripes.controller.DispatcherServlet.invokeEventHandler(DispatcherServlet.java:278) at net.sourceforge.stripes.controller.DispatcherServlet.service(DispatcherServlet.java:160) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329) at net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:260) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:559) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:363) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:931) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:856) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SslConnection.handle(SslConnection.java:196) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:722) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391) at java.net.Socket.connect(Socket.java:579) at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:612) at org.apache.commons.ssl.Java14.connectSocket(Java14.java:190) at org.apache.commons.ssl.Java14.buildSocket(Java14.java:153) at org.apache.commons.ssl.JavaImpl.createSocket(JavaImpl.java:206) at org.apache.commons.ssl.SSL.createSocket(SSL.java:543) at org.apache.commons.ssl.SSLClient.createSocket(SSLClient.java:221) at org.apache.commons.ssl.HttpSecureProtocol.createSocket(HttpSecureProtocol.java:90) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1321) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)

    Users with the same issue

    Unknown visitor1 times, last one,
    mortalman7
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    479 more bugmates