Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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...
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 romping around the Monastery: (7)
As of 2015-04-25 20:55 GMT
Find Nodes?
    Voting Booth?

    Who makes your decisions?

    Results (481 votes), past polls