Benches macOS

2

/etc/hosts file what is ::1?

apple Verified

Imported from the Apple Support Forums via the Wayback Machine 🔗

Hello All,

The following is the contents of my /etc/hosts file. I understand the first 2 lines but can some please explain what the ::1 and fe80::1%lo0 are in this file? I need to make some changes to this file on a few of my clients machines but want to understand what these are first. Also some machines' hosts file do not have that fourth line, "fe80::1%lo0 localhost".

127.0.0.1 localhost

255.255.255.255 broadcasthost

::1 localhost

fe80::1%lo0 localhost

Any help at all is greatly appreciated!

2 replies

Sign in or join Beachball Help to reply.

  1. 0

    nerowolfe

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    I believe the

    ::1

    represents the ipv6 localhost address

    the last line references inet6 which is also related to ipv6

    Message was edited by: nerowolfe

  2. 0

    Andre John Mas

    Imported from the Apple Support Forums via the Wayback Machine 🔗

    Just for further information. The fe80 IPv6 is equivalent to the 169 IPv4 prefix, in that it is purely a local network prefix. Anybody outside of the network referencing that prefix will just get their own network.