Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Cannot connect to (Bad hostname...

by Anonymous Monk
on Aug 17, 2004 at 13:04 UTC ( #383647=perlquestion: print w/replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I've been attempting to make Paul Kulchenko's samples work with our own webserver (

I get following errors

500 Can't connect to (Bad hostname '') at line 7

Any ideas ??

janitored by ybiC: Retitle from "SOAP::Lite", as one-word nodetitles hinder site search

  • Comment on Cannot connect to (Bad hostname...

Replies are listed 'Best First'.
Re: Cannot connect to (Bad hostname...
by pbeckingham (Parson) on Aug 17, 2004 at 13:07 UTC

    From a shell, what happens when you try:

    % telnet 80
    Or in other words, do you get an error? Establishing connectivity first is important.

    pbeckingham - typist, perishable vertebrate.
      Thanks to all

      Yep i could not telnet so I had to change internet options on the server to not default to port 80, this was wrong !!

Re: Cannot connect to (Bad hostname...
by borisz (Canon) on Aug 17, 2004 at 13:13 UTC
    does your dns server work? Try 'ping'. or
    perl -e 'print join ".", unpack "C4", (gethostbyname "services.soaplit")[4]'
Re: Cannot connect to (Bad hostname...
by bassplayer (Monsignor) on Aug 17, 2004 at 13:26 UTC
    Be sure that you have the 'http://', or better yet, 'https://' at the beginning of your hostname.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://383647]
Approved by Corion
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2017-10-23 03:02 GMT
Find Nodes?
    Voting Booth?
    My fridge is mostly full of:

    Results (276 votes). Check out past polls.