java.net.ConnectException

Connection refused

Samebug tips9

host port isnt set

Check if your MongoDB is available.


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

Solutions on the web13220

  • Connection refused (Connection refused)
  • Connection refused (Connection refused)
  • Connection refused (Connection refused)
  • Stack trace

    • java.net.ConnectException: Connection refused at com.yahoo.storm.yarn.MasterClient.getConfiguredClient(MasterClient.java:44) at com.yahoo.storm.yarn.StormOnYarn.getClient(StormOnYarn.java:133) at com.yahoo.storm.yarn.StormMasterCommand.process(StormMasterCommand.java:77) at com.yahoo.storm.yarn.Client.execute(Client.java:139) at com.yahoo.storm.yarn.Client.main(Client.java:145) Caused by: org.apache.thrift7.transport.TTransportException: java.net.ConnectException: Connection refused at org.apache.thrift7.transport.TSocket.open(TSocket.java:183) at org.apache.thrift7.transport.TFramedTransport.open(TFramedTransport.java:81) at backtype.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:66) at backtype.storm.security.auth.ThriftClient.<init>(ThriftClient.java:46) at com.yahoo.storm.yarn.MasterClient.<init>(MasterClient.java:50) at com.yahoo.storm.yarn.MasterClient.getConfiguredClient(MasterClient.java:38) ... 4 more 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:392) at java.net.Socket.connect(Socket.java:579) at org.apache.thrift7.transport.TSocket.open(TSocket.java:178) ... 9 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 user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Once, 3 months ago
    483 more bugmates