Saturday, January 9, 2016

networking - Difference between 127.0.0.1 and 127.0.1.1?

In my /etc/hosts file, I have two lines:



127.0.0.1 localhost
127.0.1.1 hostname


What is the difference between the two lines, where do I find the host name?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...