Re: Problems with remote include

From: Date: Thu, 30 Oct 2003 21:14:10 +0000
Subject: Re: Problems with remote include
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-168183@lists.php.net to get a copy of this message
--- Pablo Zorzoli <plz@aconectarse.com> wrote: > That's it i cannot wget it from the webserver i get > failed: Connection timed out. > > i tried to wgetit from another machine and i get the desired > output. So the server where you're running the PHP script can't connect to the server you specify in your include() call. So, you can now remove PHP from the problem and work on that. One way of testing connectivity is to try and telnet there manually: telnet www.example.org 80 That should time out, which is indicative of your problem. You can also try to do a DNS lookup: host www.example.org This will make sure your server is properly configured to resolve names and that this specific domain resolves properly. Aside from that, you can look at your routing table, speak with a network administrator, etc. Hope that helps. Chris ===== My Blog http://shiflett.org/ HTTP Developer's Handbook http://httphandbook.org/ RAMP Training Courses http://www.nyphp.org/ramp

« previous php.general (#168183) next »