127.0.1.1 in /etc/hosts

Liam Proven lproven at gmail.com
Wed Nov 29 14:45:55 UTC 2017


On 27 November 2017 at 23:47, Stuart McGraw <smcg4191 at mtneva.com> wrote:
> What is the meaning of the line:
>
>   127.0.1.1  mymachine.xxx  mymachine

Is it not 127.0.0.1?

That is your localhost or home address. All machines that have TCP/IP have that.

https://en.wikipedia.org/wiki/Localhost

It's very well-known:

http://www.thinkgeek.com/product/5d6a/

http://knowyourmeme.com/memes/hack-127-0-0-1

AFAIK you cannot have anything else on 127.x.y.z because the entire
127.*.*.* address range resolves to your own machine:

https://serverfault.com/questions/157496/why-is-loopback-ip-address-from-127-0-0-1-to-127-255-255-254

-- 
Liam Proven • Profile: https://about.me/liamproven
Email: lproven at cix.co.uk • Google Mail/Talk/Plus: lproven at gmail.com
Twitter/Facebook/Flickr: lproven • Skype/LinkedIn/AIM/Yahoo: liamproven
UK: +44 7939-087884 • ČR/WhatsApp/Telegram/Signal: +420 702 829 053




More information about the ubuntu-users mailing list