Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: What should be default for Net::Server - IPv4, IPv6 or IPv*

by Anonymous Monk
on Jun 01, 2012 at 19:16 UTC ( #973848=note: print w/replies, xml ) Need Help??


in reply to What should be default for Net::Server - IPv4, IPv6 or IPv*

The problem I have with the current behavior for Net::Server 2.001, is that if you specify "localhost" on a system with only IPv6 support, and where /etc/hosts only has ::1 as a interface for localhost, it will incorrectly only listen to IPv4 localhost (127.0.0.1). Since nothing on the box has any knowledge of IPv4 localhost, nothing can connect to the server. You have to explicitly use ::1 or set ipv to * for it to correctly listen on the ipv6 localhost interface. This seems utterly broken.
  • Comment on Re: What should be default for Net::Server - IPv4, IPv6 or IPv*

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://973848]
help
Chatterbox?
[Corion]: Mhhmmm. I just had to remind two contractos of their priorities from my point of view. This felt somewhat like getting my godson+siblings to clean their room, including the evil eye I threw them ;)
shmem .oO( "I am God! (at least on PerlMonks.) Behold my lightning!" )

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2017-04-25 13:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (454 votes). Check out past polls.