java.rmi.ConnectException

Connection refused to host: STOMV11142; nested exception is: java.net.ConnectException: Connection refused: connect

Samebug tips3

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

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.

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

Solutions on the web456

  • via Google Groups by Unknown author, 6 months ago
    Connection refused to host: STOMV11142; nested exception is: java.net.ConnectException: Connection refused: connect
  • via Oracle Community by 843793, 2 weeks ago
    Connection refused to host: localhost; nested exception is: java.net.ConnectException: Connection refused: connect java.net.ConnectException: Connection refused: connect
  • via Oracle Community by 843793, 1 year ago
    Connection refused to host: <servermachine>; nested exception is: java.net.ConnectException: Connection refused: connect java.net.ConnectException: Connection refused: connect
  • Stack trace

    • java.rmi.ConnectException: Connection refused to host: STOMV11142; nested exception is: java.net.ConnectException: Connection refused: connect 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 java.rmi.Naming.lookup(Naming.java:101) at org.apache.jmeter.engine.ClientJMeterEngine.getEngine(ClientJMeterEngine.java:54) at org.apache.jmeter.engine.ClientJMeterEngine.<init>(ClientJMeterEngine.java:67) at org.apache.jmeter.JMeter.doRemoteInit(JMeter.java:926) at org.apache.jmeter.JMeter.runNonGui(JMeter.java:810) at org.apache.jmeter.JMeter.startNonGui(JMeter.java:732) at org.apache.jmeter.JMeter.start(JMeter.java:390) 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:606) at org.apache.jmeter.NewDriver.main(NewDriver.java:259) Caused by: java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.connect0(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79) 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.PlainSocketImpl.connect(PlainSocketImpl.java:172) 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) ... 16 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

    14 times, 3 days ago
    Unknown user
    Once, 1 week ago
    2 times, 3 weeks ago
    Unknown user
    Once, 4 weeks ago
    Once, 1 month ago
    711 more bugmates