cancel
Showing results for 
Search instead for 
Did you mean: 

java.net.ConnectException: Connection refused: connect

Former Member
0 Kudos

Hi Experts,

I am getting the following exception while trying to call a webservice.

It says

<b>Service call exception; nested exception is: java.net.NoRouteToHostException: No route to host</b>

I have checked the proxy settings, the same settings are working fine with a another application that calls a different webservice.

What might be the problem?

Regards

Swarna Deepika.

Message was edited by:

SwarnaDeepika

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Well, No RouteToHost does not necessarily has to be proxy related. Did you try a cmd ping or telnet on your dest? What happens when you try to reach the service from within a browser?

jan

Former Member
0 Kudos

Hi Jan,

Ok, let me explain my situation clearly, the WebAS server i'm deploying my apllication uses proxy A, but I use proxy B in my system.

I am able to ping this proxy B but not A.

I gave the proxyserver entry as proxy B only, but its throwing this exception!

Should i use proxy A then?

Regards

Swarna

Former Member
0 Kudos

I dont get that NoRouteToHost exception once i have changed it to proxy A.

But i get a new error

<b>Service call exception; nested exception is: java.net.ConnectException: Connection refused: connect#</b>

Though i found lots of threads based on this topic in the forum,it doesn't solve my problem.

Can somebody help me?

Thanks in advance.

Regards

Swarna

Former Member
0 Kudos

Hello,

Did you resolve this issue as I am facing the same request?

Any help would be highly appreciated

Nicolas