Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

•Re: LWP::UserAgent connection problem as CGI

by merlyn (Sage)
on Mar 03, 2004 at 18:21 UTC ( #333641=note: print w/ replies, xml ) Need Help??


in reply to LWP::UserAgent connection problem as CGI

Using an IP address instead of the domain name works.
Perhaps the CGI box doesn't have DNS properly configured. Can you do hostname lookups at all? For example, what happens when you type "ping www.yahoo.com" on the command line on the CGI box?

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.


Comment on •Re: LWP::UserAgent connection problem as CGI
Re: •Re: LWP::UserAgent connection problem as CGI
by bassplayer (Monsignor) on Mar 03, 2004 at 18:30 UTC
    Thanks, but no problems pinging. I receive packets back from the IP address. Seems as though DNS is configured properly, but for some reason not for perl|apache|mod_perl?

    bassplayer

      I don't merlyn meant for you to ping th IP address but to test the Domain Name Server configuration by doing ping <hostname> as oppossed to ping <IP address>.

      Plankton: 1% Evil, 99% Hot Gas.
        Yes, I know. Sorry that I was unclear. I pinged www.yahoo.com just as merlyn suggested. The response was:
        64 bytes from 66.94.230.33: icmp_seq=0 ttl=52 time=9.800 ms 64 bytes from 66.94.230.33: icmp_seq=1 ttl=52 time=10.008 ms
        That is why I said that I received packets back from the IP address. Thanks.

        bassplayer

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://333641]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2014-08-23 17:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (175 votes), past polls