java.rmi.ConnectException: Connection refused to host: 10.142.85.146; nested exception is: java.net.ConnectException: Connection refused

Super User | DWGuru | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    neo4j-shell connection refused on aws

    Super User | 3 years ago | DWGuru
    java.rmi.ConnectException: Connection refused to host: 10.142.85.146; nested exception is: java.net.ConnectException: Connection refused
  2. 0

    neo4j-shell "connection refused" error

    Stack Overflow | 4 years ago | roymond
    java.rmi.ConnectException: Connection refused to host: 172.16.31.31; nested exception is: java.net.ConnectException: Connection refused
  3. 0

    {noformat} 1. I have 5 buckets on cluster named: multiple_table_db_2081_simple_table_1 multiple_table_db_2081_simple_table_10 multiple_table_db_2081_simple_table_2 multiple_table_db_2081_simple_table_4 multiple_table_db_2081_simple_table_3 Each is containing 1000 documents. 2 Started local cluster and tried connecting to feed using this curl command: curl -s --data indent=true --data format=CLEAN_JSON --data-urlencode statement@file.txt http://localhost:8095/analytics/service 3. Error seen in red-service.log: java.rmi.ConnectException: Connection refused to host: 172.23.107.110; nested exception is: 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.invoke(UnicastRef.java:130) at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194) at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148) at com.sun.proxy.$Proxy10.setMetadataNode(Unknown Source) at org.apache.asterix.api.common.AsterixAppRuntimeContext.exportMetadataNodeStub(AsterixAppRuntimeContext.java:457) at org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint.notifyStartupComplete(NCApplicationEntryPoint.java:242) at org.apache.hyracks.control.nc.NodeControllerService.start(NodeControllerService.java:309) at org.apache.hyracks.control.nc.NCDriver.main(NCDriver.java:48) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at java.net.Socket.connect(Socket.java:538) at java.net.Socket.<init>(Socket.java:434) at java.net.Socket.<init>(Socket.java:211) at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40) at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:148) at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613) ... 10 more {noformat} Attaching logs . file.txt contains: drop dataverse couchbase if exists; create dataverse couchbase; use couchbase; create type `value` as open{}; create type meta as open{ id:string, vbid:int32, seq:int64, cas:int64, expiration:int32, flags:int32, rev:int64, lock:int32 }; create dataset multiple(`value`) with meta(meta) primary key meta().id; create feed multiple_feed using `com.couchbase.analytics.CouchbaseConnectorFactory`( ("bucket"="multiple_table_db_2081_simple_table_1"), ("nodes"="127.0.0.1"), ("password"="") ); connect feed multiple_feed to dataset multiple;

    Couchbase JIRA | 9 months ago | Prerna Manaktala
    java.rmi.ConnectException: Connection refused to host: 172.23.107.110; nested exception is: java.net.ConnectException: Connection refused
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java RMI 'java.rmi.ConnectException: Connection refused to host: 127.0.1.1;'

    Stack Overflow | 5 months ago | Mattcow12
    java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is: java.net.ConnectException: Connection refused
  6. 0

    java.rmi.ConnectException: Connection refused to host: 127.0.1.1;

    Stack Overflow | 4 years ago | antonbalboa
    java.rmi.ConnectException: Connection refused to host: 127.0.1.1; nested exception is: java.net.ConnectException: Connection refused

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.net.ConnectException

      Connection refused

      at java.net.PlainSocketImpl.socketConnect()
    2. Java RT
      RemoteObjectInvocationHandler.invoke
      1. java.net.PlainSocketImpl.socketConnect(Native Method)
      2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
      3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
      4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
      5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
      6. java.net.Socket.connect(Socket.java:579)
      7. java.net.Socket.connect(Socket.java:528)
      8. java.net.Socket.<init>(Socket.java:425)
      9. java.net.Socket.<init>(Socket.java:208)
      10. sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
      11. sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:147)
      12. sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
      13. sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
      14. sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
      15. sun.rmi.server.UnicastRef.invoke(UnicastRef.java:129)
      16. java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:194)
      17. java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:148)
      17 frames
    3. com.sun.proxy
      $Proxy1.welcome
      1. com.sun.proxy.$Proxy1.welcome(Unknown Source)
      1 frame
    4. Neo4j - Generic shell
      StartClient.main
      1. org.neo4j.shell.impl.AbstractClient.sayHi(AbstractClient.java:215)
      2. org.neo4j.shell.impl.RemoteClient.findRemoteServer(RemoteClient.java:63)
      3. org.neo4j.shell.impl.RemoteClient.<init>(RemoteClient.java:55)
      4. org.neo4j.shell.impl.RemoteClient.<init>(RemoteClient.java:43)
      5. org.neo4j.shell.ShellLobby.newClient(ShellLobby.java:165)
      6. org.neo4j.shell.StartClient.startRemote(StartClient.java:297)
      7. org.neo4j.shell.StartClient.start(StartClient.java:175)
      8. org.neo4j.shell.StartClient.main(StartClient.java:120)
      8 frames