Hello all,
I'm working with somebody using IIS (honest - it's not me) to try and develop some web
services whereby a site hosted on IIS is able to access data using a nusoap client
with a nusoap server set up on a linux/apache server. I can do this satisfactorily
from another linux/apache server but my colleague is having problems doing this from
IIS.
The main problem seems to be that fsockopen isn't working from their system. We have
tried running the following script:
<?php
$fp = fsockopen("www.thehostname.com", 80, $errno, $errstr, 30);
if (!$fp)
{
echo "$errstr ($errno)<br />\n";
}
else
{
echo "Success";
}
?>
But the following error is returned:
Warning: fsockopen(): unable to connect to www.thehostname.com:80 in
C:\Inetpub\wwwroot\webservice\fsocktest.php on line 2
A connection attempt failed because the connected party did not properly respond after
a period of time, or established connection failed because connected host has failed
to respond. (10060)
I've searched through a few mailing list archives and the only thing I came across was
the suggestion that the client server is not allowing outgoing connections. Is there
any way of testing this or indeed any other suggestions as to what might be going
wrong.
I confess I feel I'm on extremely thin ice with this - I'm not overly familiar with
nusoap and have no familiarity whatsoever with IIS. Any general pointers would be
extremely welcome.
Regards,
Michael Egan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php