Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2016-10-24 12:54 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (305 votes). Check out past polls.