My questions (I know multiple questions per post are frowned upon, but I hope these questions are logically grouped enough that it's justified asking these questions together): (That explanation was probably really bad, revealing my shaky understanding) I have a shaky understanding that these 'loopback' addresses are some OS feature that makes these 'virtual addresses' and allows them to act as if they are real network addresses.
Similarly, in my Udemy Docker & Kubernetes course, the instructor creates a Node.js web server that listens at 127.0.0.1 port 3000. a TCP listener does a bind() to a 127.0.0.x address. Over the years I've written various little TCP/UDP sender/receiver projects - mostly simple hello-world-level code, in order to learn the mechanics of sending/receiving data over TCP or UDP.īut almost all the examples I've referenced tend to use 127.0.0.x as the receiver's address. I have this gap in my understanding of networking that I've always had a hard time crossing.