in reply to Bad hostname
LWP doesn't return such messages. Either the message isn't from LWP, or I think you're lying about the message. I presume you were actually getting something of the form
500 Can't connect to $host:$port (Bad hostname '$host')
If the message you are getting is the form
500 Can't connect to $host:$port ($error_cause)
then the error message is originating from the operating system while LWP was attempting to create a connection. If the OS is telling you there's a permission problem, then there's some OS-level security setting preventing you (the web server user) from creating internet connections.
Are you using SELinux? In any case, this isn't a Perl issue.
* — The 500 might be absent depending on how you got the message.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Bad hostname
by alvise (Acolyte) on Sep 15, 2009 at 07:47 UTC | |
by ikegami (Patriarch) on Sep 15, 2009 at 14:30 UTC | |
|
Re^2: Bad hostname
by Anonymous Monk on Sep 14, 2009 at 04:43 UTC | |
by ikegami (Patriarch) on Sep 14, 2009 at 05:17 UTC |