Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by Anonymous Monk
on Jun 01, 2012 at 19:16 UTC ( [id://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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://973848]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2024-03-28 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found