Ports, sockets and UDP
Socket
An address plus a port; a connection is named by both ends' sockets.
A server listens on a socket: 0.0.0.0:80 on every address, 127.0.0.1:8080 on loopback only. ss -tln
lists listening TCP sockets. A connection is identified by four numbers: source address and port, destination
address and port.