failed to open stream: Connection timed out

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
phpcoder
Forum Contributor
Posts: 158
Joined: Sat Nov 02, 2002 1:18 pm
Location: Manchester, UK

failed to open stream: Connection timed out

Post by phpcoder »

scottayy | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


Hi,

I got my Soap server on my local network with external interface as well. When I try to acces the soap service from netwrok using external IP everything work fine. But when I try to acces it from my webserver I get the following errors:

Code: Select all

Warning: SoapClient::__construct(http://91.102.62.67:7080/starwslive/WMSOrderFulfilment.asmx?WSDL) [function.SoapClient---construct]: failed to open stream: Connection timed out in/SoapIn.php on line 37

Warning: SoapClient::__construct() [function.SoapClient---construct]: I/O warning : failed to load external entity "http://91.102.62.67:7080/starwslive/WMSOrderFulfilment.asmx?WSDL" in /SoapIn.php on line 37

Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http://91.102.62.67:7080/starwslive/WMSOrderFulfilment.asmx?WSDL' in /SoapIn.php:37 Stack trace: #0 /var/www/vhosts/starperfumes.co.uk/httpdocs/SoapIn.php(37): SoapClient->__construct('http://91.102.6...') #1 {main} thrown /SoapIn.php on line 37
Any suggestions
Thanks


scottayy | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

may be a filter rule/firewall.
Post Reply