I have some difficulty to picture a diagram for the meaning of loopback. https://en.wikipedia.org/wiki/Loopback#Virtual_loopback_interface
Any traffic that a computer program sends to a loopback IP address is simply and immediately passed back up the network software stack as if it had been received from another device.
What does the action "loop back" mean?
What are the source and destination in the loopback scenario?
How is that different from a regular scenario?
Could you use some commands to show the loopback scenario and the regular one?
For example:
- When I type
ssh localhost, it works just likesshwith any other IP address. - When I type
http://localhost:631in browser's address bar and hit return, it works just like typing any other URL.
"loopback" is supposed to mean "a message or signal ends up (or loops) back to where it started" (https://askubuntu.com/questions/247625/what-is-the-loopback-device-and-how-do-i-use-it). But in the two examples, I don't see that meaning happening, but just the same thing as non-loop back IP addresses.
Thanks.