
Can one network card only have one IP address?.
127.0 0.1 LOOPBACK SOFTWARE
Is 72.212.216.41 something that's tightly-coupled to my network card and immutable? Or can some software process change it?. Who gave my network card the address 72.212.216.41?. what governs whether the IP address 72.212.216.41 is available on that particular PC for the C code to function correctly? On a given PC, what governs whether an IP address is available to the C bind() function?Į.g in the following code snippet (adapted from here):. What is the difference between these loopback addresses (I assume 127.0.0.1 - 127.0.0.255?) and "real" (maybe non-loopback is the better word?) IP addresses?. 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.