Site Overlay

There’s no place like 127.0.0.1

You might have definitely heard of 127.0.0.1. You also might be knowing that 127.0.0.1 points to localhost. But, why is localhost‘s IP address 127.0.0.1–why not something else?
Before trying to answer that question, let me tell you a little bit about how does it work. This address is used to establish a connection to the same computer used by the end-user. When we deal with IPv6 address, it’s defined using the connotation of ::1. As IPv6 addresses take over, localhost will be more commonly know as 0:0:0:0:0:0:0:1.
How does 127.0.0.1 work? Why is it called so?

Very often developers use 127.0.0.1 to test their applications. When you try to establish a network connection to the 127.0.0.1 loopback address, it works in the same manner as making a connection with any remote device. However, it avoids connection to the local network interface hardware.
But, why does the localhost IP address starts with 127? Well, 127 is the last network number in a class A network. It has a subnet mask of 255.0.0.0. So, the first assignable address in the subnet is 127.0.0.1.
However, if you use any other numbers from the host portions, it should work fine and revert to 127.0.0.1. So, you can ping 127.1.0.1 if you like.
You might also ask why the last network number was chosen to implement this. Well, the earliest mention of 127 as loopback dates back to November 1986 RFC 990. And, by 1981, 0 and 127 were the only reserved Class A networks.
The class A network number 127 is assigned the “loopback” function, that is, a datagram sent by a higher level protocol to a network 127 address should loop back inside the host. No datagram “sent” to a network 127 address should ever appear on any network anywhere.

As 0 was used for pointing to a specific host, 127 was left for loopback. Some would also call it more sensible to choose 1.0.0.0 for loopback, but that was already given to BBC Packet Radio Network.

SourceSuperUser

44 thoughts on “There’s no place like 127.0.0.1

  1. 832977 376847This was an incredible post. Actually loved studying your site post. Your data was extremely informative and beneficial. I think you will proceed posting and updating often. Seeking forward to your subsequent 1. 818470

  2. 868634 839334This site can be a walk-by way of for all with the data you necessary about this and didnt know who to ask. Glimpse here, and also you will certainly uncover it. 787914

  3. 725931 261354Actually fighter messages are supposed to amuse offer praise into the groom and bride. Very first time audio system watching over the top places need to also remember you see, the senior guideline with the speaking, which is your certain person. very best man speeches brother 102339

  4. 564246 580222Right humans speeches must seat as properly as memorialize around the groom and bride. Beginer sound system about rowdy locations should always not forget currently the glowing leadership of a speaking, which is ones boat. greatest man speeches brother 782980

  5. 357860 294478This is a extremely exciting post, Im looking for this know how. So you realize I established your web web site when I was searching for sites like my own, so please appear at my internet web site someday and post me a opinion to let me know how you feel. 327671

  6. 860526 944506Its genuinely a cool and useful piece of info. Im glad that you simply shared this beneficial information with us. Please stay us informed like this. Thank you for sharing. 569342

  7. 137981 427684Im not that significantly of a internet reader to be honest but your blogs really nice, maintain it up! Ill go ahead and bookmark your internet site to come back down the road. Cheers 871855

  8. 227689 717072Hi there, just became alert to your blog by means of Google, and identified that its truly informative. Im gonna watch out for brussels. Ill be grateful in the event you continue this in future. Lots of folks is going to be benefited from your writing. Cheers! 31678

  9. 555384 646110Ive applied the valuable points from this page and I can certainly tell that it gives a lot of assistance with my present jobs. I would be extremely pleased to maintain getting back in this internet page. Thank you. 925238

  10. I will right away snatch your rss as I can not to find your email subscription link or newsletter service.
    Do you’ve any? Please permit me recognize so
    that I could subscribe. Thanks.

  11. 433835 685971Hi! I discovered your web site accidentally today, but am actually pleased that we did! Its not only entertaining, but in addition straightforward to make use of in contrast to lots that Ive viewed! 415382

  12. 47817 102386Correct wow messages are bound to show your and supply memorialize the speacial couple. Beginner sound system to high in volume crowds should always take a appear at all with the wonderful value behind presenting and public speaking, which is to be someones truck. finest man speeches brother 916283

  13. I’m not that much of a online reader to be honest
    but your blogs really nice, keep it up! I’ll go ahead and bookmark your website to come back in the
    future. Many thanks

  14. 764994 537740Our own chaga mushroom comes with a schokohutige, consistent, charcoal-like arrival, a whole lot of dissimilar towards the style with the normal mushroom. Chaga Tincture 993630

  15. 840725 451813Hey! Im at function surfing about your blog from my new apple iphone! Just wanted to say I adore reading via your weblog and look forward to all your posts! Maintain up the outstanding function! 632142

  16. What i don’t realize is actually how you’re not really much more well-liked than you may be now. You’re so intelligent. You realize thus considerably relating to this subject, produced me personally consider it from so many varied angles. Its like men and women aren’t fascinated unless it is one thing to do with Lady gaga! Your own stuffs excellent. Always maintain it up!

  17. 818828 389647This Los angeles Weight Loss diet happens to be an low and flexible going on a diet application meant for normally trying to drop the weight as well within the have a considerably healthier lifetime. shed weight 937053

  18. 363453 804381Do you mind if I quote a couple of your posts as long as I give credit and sources back to your internet site? My weblog is within the exact same location of interest as yours and my visitors would truly benefit from some of the data you provide here. Please let me know if this ok with you. Thanks! 502485

  19. 784072 654160Nice post. I be taught 1 thing much more challenging on totally different blogs everyday. It will all the time be stimulating to learn content from other writers and apply slightly 1 thing from their store. Id desire to use some with the content material on my weblog whether you dont mind. Natually Ill give you a hyperlink on your net weblog. Thanks for sharing. 661206

  20. 160305 760485That being said by use it all, planet is actually restored just a little more. This situation in addition will this specific Skin tightening and starting to be moved and into the mood of these producing activities. daily deal livingsocial discount baltimore washington 666689

Leave a Reply

Your email address will not be published.