java.lang.RuntimeException

java.net.ConnectException: Connection refused

Samebug tips4

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4965

  • via Unknown by PrincessPoonam,
  • Stack trace

    • java.lang.RuntimeException: java.net.ConnectException: Connection refused at com.endeca.eidi.service.ServiceLocator.getService(ServiceLocator.java:179) at com.endeca.eidi.component.manager.cmd.task.ComponentManagerTask.getManager(ComponentManagerTask.java:24) at com.endeca.eidi.component.manager.cmd.task.CreateComponentInstanceTask.process(CreateComponentInstanceTask.java:31) at com.endeca.eidi.cmd.BaseCmd.run(BaseCmd.java:412) at com.endeca.eidi.component.manager.cmd.ComponentManagerCmd.main(ComponentManagerCmd.java:52) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:529) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:125) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) at com.endeca.eidi.util.UrlUtils.ping(UrlUtils.java:112) at com.endeca.eidi.util.UrlUtils.ping(UrlUtils.java:81) at com.endeca.eidi.service.ServiceLocator.getService(ServiceLocator.java:171) ... 4 more

    Write tip

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

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    rocdayrocday
    2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    musketyrmusketyr
    Once,
    282 more bugmates