Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • Last Modified:

MS Windows - "hosts" file

What is the meaning of "::1" in hosts file?

127.0.0.1       localhost
::1             localhost

0
longjumps
Asked:
longjumps
2 Solutions
 
PapertripCommented:
It is the IPv6 equivalent of 127.0.0.1 which is the loopback address
0
 
yjchong514Commented:

::1 Localhost is the equivalent to 127.0.0.1 Localhost but using IPv6 protocol format , ::1 localhost is valid when Internet Protocol version 6 (IPv6) is implemented on a system.

IPv4 127.0.0.1
IPv6 ::1

"::" is an abbreviation for missing zeros, so this loopback entry really means

0000:0000:0000:0000:0000:0000:0000:0001 localhost
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now