Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

•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" 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

Replies are listed 'Best First'.
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?


      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 just as merlyn suggested. The response was:
        64 bytes from icmp_seq=0 ttl=52 time=9.800 ms 64 bytes from icmp_seq=1 ttl=52 time=10.008 ms
        That is why I said that I received packets back from the IP address. Thanks.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://333641]
[choroba]: my best run so far
[erix]: I think they build a portaging installation for yachts here not so long ago - lemme google it
[erix]: choroba ah, you should have sprinted 7 s off that :)
[erix]: (but then there's always a next (im)possible goal)
Corion avoids running by starting on time
[choroba]: my phone showed me 1 hour 10 km which was my goal, it changed a bit after uploading to the website
[erix]: choroba I believe you ;)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (1)
As of 2017-05-24 12:52 GMT
Find Nodes?
    Voting Booth?