Results 1 to 4 of 4
- 01-26-2009, 11:56 AM #1
Member
- Join Date
- Jan 2009
- Posts
- 3
- Rep Power
- 0
Error opening socket: java.net.ConnectException: Connection refused: connect
Hi Everyone,
I'm tearing my hairs out for the moment.
This is the situation :
In Eclipse I created a project, and with help of the wizard I created an AXIS-web service.
When I call this web-service locally I don't have any problem.
When I call it from another computer, I get the error-message :
Error opening socket: java.net.ConnectException: Connection refused: connect
I changed the properties in the wsdl-file the following line :
FROM
<wsdlsoap:address location="http:-/-/localhost:8080/LeasePlan_MQWebService/services/MQCommunication"/>
TO
<wsdlsoap:address location="http:-/-/10.16.111.38:8080/LeasePlan_MQWebService/services/MQCommunication"/>
This didn't resolve the problem either. When I open the URL on the other computer in a browsers, it works without any problem, so I can decide there is no firewall-problem.
Please any help would be most welcome. Also how can I troubleshoot that kind of problems
- 01-26-2009, 03:44 PM #2
So you can run the client on the same machine.
You can see your Web service from the other computer with a browser.
That would seem to point to a problem with your client software not looking at the correct address. I suggest checking the format of the address in the client. Addresses are case-sensitive on some Web application servers.
- 01-26-2009, 04:29 PM #3
Member
- Join Date
- Jan 2009
- Posts
- 3
- Rep Power
- 0
Hi Steve,
Already many thanks for your answer. Unfortunateley you reasoning is nor true for my problem I think. As well on my local computer, as on the other computer, the same java-software is running for calling the webservice with as endpoint "http:-/-/10.16.111.38:8080/LeasePlan_MQWebService/services/MQCommunication".
10.16.111.38 is the ip-adress of my local computer
-/ : mind the first dash, but otherwise my post wasn't accepted in this forum
- 01-26-2009, 05:30 PM #4
Similar Threads
-
Software caused connection abort: socket write error
By kuguy in forum NetworkingReplies: 3Last Post: 04-13-2010, 03:43 PM -
"connection refused when attempting to contact localhost
By katie in forum New To JavaReplies: 2Last Post: 11-21-2008, 08:36 PM -
Socket refused, but applet talking to native server
By Waccoon in forum NetworkingReplies: 1Last Post: 12-17-2007, 11:13 AM -
Exception in thread "main" java.net.ConnectException: Connection timed out
By osval in forum Advanced JavaReplies: 1Last Post: 07-27-2007, 10:59 PM -
java.net.ConnectException: Connection refused
By Albert in forum Advanced JavaReplies: 2Last Post: 07-03-2007, 04:49 PM


LinkBack URL
About LinkBacks

Bookmarks