Add ip6-localhost
See original GitHub issueAdd ip6-localhost to hosts file
In Ubuntu:
127.0.0.1 localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
In Android:
127.0.0.1 localhost
::1 ip6-localhost
Issue Analytics
- State:
- Created 7 years ago
- Comments:17 (7 by maintainers)
Top Results From Across the Web
What is IPV6 for localhost and 0.0.0.0? - Stack Overflow
IPv6 localhost. ::1 is the loopback address in IPv6. Within URLs. Within a ...
Read more >How do I add IPv6 address into System32\drivers\etc\hosts?
There is already by default, and it works (Win 7): ::1 localhost. This ...
Read more >Adding a host name in the /etc/hosts file - NetApp
You can add the host name and aliases of the storage system in the /etc/hosts file. You can use the setup command to...
Read more >How do I ping localhost using IPv6? - Super User
Short answer ping6 ip6-localhost # Or the alias you have in /etc/hosts file (See below) ping6 0:0:0:0:0:0:0:1 # Similar to `ping 127.0.0.1` ...
Read more >ipv6 entry refering to localhost in /etc/host file needs ipv4 added
There's no real answer to this question. The basic rule is that the name 'localhost' must be reserved for 127.0.0.1 on IPv4. Always....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Keeping the current behavior (generate IPv4 only) and making IPv6 generation optional makes sense.
I wouldn’t necessarily say that it’s IPv4 and IPv6 are mutually exclusive — many locations might have dual deployments. That’s how I ran into this issue — the WiFi access point I connected to handed me out both an IPv4 and IPv6 address, and I wondered why I was seeing ads from known blocked sites.
I agree that IPv6 deployment is minimal compared to IPv4, and will probably be the case for some time still, but a lot of places are doing IPv6 rollouts slowly but surely (e.g. conferences offering WiFi).
Since this topic seems to be tending, if you’re up for a bit of light reading, these articles are pretty good and address some common problems people might have, such as needing to use zone IDs with link-local IPv6 addresses in the hosts file and little known things like that. https://technet.microsoft.com/en-us/library/bb726995.aspx https://technet.microsoft.com/en-us/library/bb962069.aspx