java.net.ConnectException: Connection refused: connect Connection refused: connect

Pentaho BI Platform Tracking | Golda David | 7 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

    Create a job, right click on slave server and create a connection. run the job locally it works. run the job remotely using the remote host from the list box. You will get the following error. org.pentaho.di.core.exception.KettleException: java.net.ConnectException: Connection refused: connect Connection refused: connect at org.pentaho.di.job.Job.sendToSlaveServer(Job.java:1356) at org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate.executeJob(SpoonJobDelegate.java:1455) at org.pentaho.di.ui.spoon.Spoon.executeJob(Spoon.java:6418) at org.pentaho.di.ui.spoon.Spoon.executeFile(Spoon.java:6392) at org.pentaho.di.ui.spoon.Spoon.runFile(Spoon.java:6368) at org.pentaho.di.ui.spoon.job.JobGraph.runJob(JobGraph.java:2891) 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:585) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:317) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:35) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:82) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1038) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5888) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:474) 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:585) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:520) at java.net.Socket.connect(Socket.java:470) at java.net.Socket.<init>(Socket.java:367) at java.net.Socket.<init>(Socket.java:240) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at org.pentaho.di.cluster.SlaveServer.sendXML(SlaveServer.java:388) at org.pentaho.di.job.Job.sendToSlaveServer(Job.java:1337) ... 27 more

    Pentaho BI Platform Tracking | 7 years ago | Golda David
    java.net.ConnectException: Connection refused: connect Connection refused: connect
  2. 0

    Create a job, right click on slave server and create a connection. run the job locally it works. run the job remotely using the remote host from the list box. You will get the following error. org.pentaho.di.core.exception.KettleException: java.net.ConnectException: Connection refused: connect Connection refused: connect at org.pentaho.di.job.Job.sendToSlaveServer(Job.java:1356) at org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate.executeJob(SpoonJobDelegate.java:1455) at org.pentaho.di.ui.spoon.Spoon.executeJob(Spoon.java:6418) at org.pentaho.di.ui.spoon.Spoon.executeFile(Spoon.java:6392) at org.pentaho.di.ui.spoon.Spoon.runFile(Spoon.java:6368) at org.pentaho.di.ui.spoon.job.JobGraph.runJob(JobGraph.java:2891) 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:585) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:317) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:35) at org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:82) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1038) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5888) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:474) 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:585) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) at java.net.Socket.connect(Socket.java:520) at java.net.Socket.connect(Socket.java:470) at java.net.Socket.<init>(Socket.java:367) at java.net.Socket.<init>(Socket.java:240) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706) at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386) at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324) at org.pentaho.di.cluster.SlaveServer.sendXML(SlaveServer.java:388) at org.pentaho.di.job.Job.sendToSlaveServer(Job.java:1337) ... 27 more

    Pentaho BI Platform Tracking | 7 years ago | Golda David
    java.net.ConnectException: Connection refused: connect Connection refused: connect
  3. 0

    Apache Ode User - java.net.ConnectException: Connection refused: connect

    nabble.com | 1 year ago
    java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Re: HELP: NullPointerException with Selenium hub

    Google Groups | 8 years ago | whopiecat
    java.net.ConnectException: Connection refused: connect

  1. stigkj 4 times, last 4 months ago
  2. linxiaolong 1 times, last 2 weeks ago
  3. osvzs 2 times, last 1 month ago
  4. Casper 5 times, last 3 days ago
  5. QrCeric 1 times, last 1 month ago
29 more registered users
65 unregistered visitors
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: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.<init>
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:520)
    7. java.net.Socket.connect(Socket.java:470)
    8. java.net.Socket.<init>(Socket.java:367)
    9. java.net.Socket.<init>(Socket.java:240)
    9 frames
  3. HttpClient
    HttpClient.executeMethod
    1. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:79)
    2. org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:121)
    3. org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:706)
    4. org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:386)
    5. org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:170)
    6. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:396)
    7. org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:324)
    7 frames
  4. org.pentaho.di
    JobGraph.runJob
    1. org.pentaho.di.cluster.SlaveServer.sendXML(SlaveServer.java:388)
    2. org.pentaho.di.job.Job.sendToSlaveServer(Job.java:1337)
    3. org.pentaho.di.ui.spoon.delegates.SpoonJobDelegate.executeJob(SpoonJobDelegate.java:1455)
    4. org.pentaho.di.ui.spoon.Spoon.executeJob(Spoon.java:6418)
    5. org.pentaho.di.ui.spoon.Spoon.executeFile(Spoon.java:6392)
    6. org.pentaho.di.ui.spoon.Spoon.runFile(Spoon.java:6368)
    7. org.pentaho.di.ui.spoon.job.JobGraph.runJob(JobGraph.java:2891)
    7 frames
  5. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  6. org.pentaho.ui
    SwtToolbarbutton$1.widgetSelected
    1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:317)
    2. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131)
    3. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119)
    4. org.pentaho.ui.xul.swt.tags.SwtToolbarbutton.access$100(SwtToolbarbutton.java:35)
    5. org.pentaho.ui.xul.swt.tags.SwtToolbarbutton$1.widgetSelected(SwtToolbarbutton.java:82)
    5 frames
  7. RWT
    Display.readAndDispatch
    1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    5 frames
  8. org.pentaho.di
    Spoon.main
    1. org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1038)
    2. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5888)
    3. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:474)
    3 frames
  9. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  10. org.pentaho.commons
    Launcher.main
    1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)
    1 frame