RE: [PHP] I have a really stupid question, just trying to debug a script though.
| From: | Jay Blanchard | Date: | Wed, 29 Sep 2004 13:49:38 +0000 |
| Subject: | RE: [PHP] I have a really stupid question, just trying to debug a script though. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-198184@lists.php.net to get a copy of this message | ||
[snip]
I know what this means, but what are some reasons why we would get this
error?
Warning: fsockopen(): unable to connect to 128.42.244.20:80
[/snip]
The primary reason that you would get this error is because you were
unable to connect to the host using sockets.
The causes may be varied, firewalls, non-existent host, incorrect port,
authentication, the cable is not plugged in, power is off, etc.