Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm very inexperienced with networking, so bear with me.

I'm trying to connect to a windows service using soapclient in php, but I'm getting this error.. I believe the machine running the service is serving its local name as the source.

Warning: SoapClient::SoapClient(http://rimage1:55555/RmJobService.svc?xsd=xsd2) [soapclient.soapclient]: failed to open stream: operation failed in /home/blah.php on line 8

I've set up a static ip for this system and can access port 80 fine. It looks like I need to change the computer name in the ESDL to its IP, but if i try to access the machine's ip from itself, the request times out.

What would I need to do in order for the machine to find itself (rimage1) through the static ip?

share|improve this question
add comment

3 Answers

It does look like your client is unable to resolve rimage1. You should use the public(static) IP of the server and see if that takes care of it.
You say it times out when you try to access its IP from itself - if you are trying to access its public IP, your firewall probably isn't allowing the traffic to pass from the server back to the server. Try using the IP as you thought and accessing it externally.

share|improve this answer
    
it seems like that to me, soapclient is trying to load the wsdl from rimage1... i need to somehow alter this so that the soapclient tries to access it from the public ip, but the computer can't talk to itself through the public ip –  Dave Kiss Dec 15 '11 at 21:19
add comment

Try to edit the hosts file c:\windows\system32\drivers\etc\hosts, and point rimage1 to 127.0.0.1.

share|improve this answer
add comment

you may have to configure reverse NAT, if your router supports it, I am assuming you are trying to access the server from the server? If this is true reverse NAT may be your problem

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.