laziness, impatience, and hubris | |
PerlMonks |
perl network / internet access problemsby fireartist (Chaplain) |
on Feb 03, 2005 at 10:42 UTC ( [id://427575]=perlquestion: print w/replies, xml ) | Need Help?? |
fireartist has asked for the wisdom of the Perl Monks concerning the following question: I've installed perl 5.8.6 in the home directory of my website host's server and am having trouble accessing the network and internet with it.
DBD-mysql fails with error Unknown MySQL Server Host 'db1.int.myhosts.com'. Using the IP address I got by pinging the mysql server, I can connect OK. CPAN fails to download anything. By changing lib/5.8.6/Net/FTP.pm to force Passive mode, it works OK. My first thought was that it's something to do with the hostname setup. I attempted to download a file from a CPAN mirror using the wget program. It works OK with a http url, but fails with a ftp url for the exact same file. I'll reply to this node with the output of some tests, so as to not overload this with too much data.
Back to
Seekers of Perl Wisdom
|
|