Concepts / Ports, sockets and UDP

Ports, sockets and UDP

Ephemeral port

Also called source port, client port

The temporary port a client's kernel picks for each outgoing connection.

Picked from a range (32768 to 60999 on Linux), it is what lets one server port hold thousands of connections, and one client open many connections to the same server.

See it on real machines

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Start with a free account: Google or email, no card.

Start this lab, free