Hi,
I am trying to read in the contents of a URL using a socket (I specifically did not choose fopen, so don't suggest using it), and I have tested it with a few URLS like www.php.net and so forth to make sure the function works (it does), but I am now testing it on the desired server, and it is timing out.
I have root access to the desired server, and the one common pattern I can see is that all the sites that time-out are within Apache <VirtualHost> directives. There is one site that will allow a socket connection, and it is the very first site, outside the VirtualHost directives.
I can connect to these sites by just going to them in a browser, but the socket just doesn't seem to work for them. Is anyone familiar with this problem? I'm not sure if it matters or not, but I DO have Canonical Names turned off in Apache for these sites.