Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: 500 Can't connect to localhost:80 (Connection Refused) at ./sample.pl line 19

by MidLifeXis (Monsignor)
on Aug 29, 2013 at 12:43 UTC ( #1051420=note: print w/replies, xml ) Need Help??


in reply to Re^2: 500 Can't connect to localhost:80 (Connection Refused) at ./sample.pl line 19
in thread 500 Can't connect to localhost:80 (Connection Refused) at ./sample.pl line 19

No, neither decoded-content nor status-line are provided. The provided methods are decoded_content and status_line. Note that - is not a valid character in a name.

According to Re^2: 500 Can't connect to localhost:80 (Connection Refused) at ./sample.pl line 19, you can access it with localhost or the hostname, but on the original post, you cannot access it with localhost. Which is it?

Is your web server configured to accept connections on an IPv6 address? Is there any more diagnostic information you can provide? There is very little to go on here.

--MidLifeXis

Replies are listed 'Best First'.
Re^4: 500 Can't connect to localhost:80 (Connection Refused) at ./sample.pl line 19
by Anonymous Monk on Sep 02, 2013 at 06:07 UTC

    yes it is configured and the same url I can access on the firefox. but with this program it is giving a failed response

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1051420]
help
Chatterbox?
[ambrus]: Corion: really? Does that mean the Prima watcher objects behave as handles that stop the watcher when they're destroyed, just like AnyEvent expects?
[ambrus]: "all the bugs" -- hehe, good luck
[ambrus]: Corion: what I don't understand is, if you make a one-shot AnyEvent timer with short timeout, does this code guarantee that the Prima timer can't queue two timeout events before invoking any of them?
[ambrus]: Because that could break AnyEvent code, which is why I added a guard.
[ambrus]: (It might be easier to use the callback scalar as a guard, as in $c and &$c(); $c = ();)
[Corion]: ambrus: Hurr - yes, that might happen, as Prima will queue lots of stuff (Well, Windows will)

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2016-12-09 09:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (150 votes). Check out past polls.