java.net.ConnectException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Check if your MongoDB is available.


rp

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

  • Unable to connect
    via GitHub by hsdmiranda
    ,
  • twiddle with jboss 6.1.0 As version
    via by Unknown author,
  • node-info 页面报错
    via GitHub by niuliwei
    ,
  • HTTP ERROR: 503
    via by Krishna,
  • Error connection to remote JMX agent
    via by Mengchen Yu,
  • Error connection to remote JMX agent! on nodetool
    via by ko...@vivinavi.com,
  • Failed to get JMX Connector
    via by Abdul Moid,
    • java.net.ConnectException: Connection refused at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202) at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:341) at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:114) 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 java.net.Socket.connect(Socket.java:528) at java.net.Socket.<init>(Socket.java:425) at java.net.Socket.<init>(Socket.java:208) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:147) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613) ... 6 more

    Users with the same issue

    Михайло Тітов
    16 times, last one,
    guizmaii
    8 times, last one,
    batwalrus76
    4 times, last one,
    linxiaolong
    377 times, last one,
    filipebatista
    2 times, last one,
    274 more bugmates