Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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
[Corion]: Mhhmmm - https://sod.pixlab .io/ looks really interesting for embedding with Perl (XS), but they don't have any kind of free model available and the cheapest pretrained model costs EUR 40 :-(

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2018-06-18 10:40 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (109 votes). Check out past polls.