Apex › Transport & web

TIME_WAIT & ephemeral-port exhaustion

Why the side that closes a TCP connection can't reuse its port for ~60s — and how a client opening too many short-lived connections runs out of ephemeral ports. Drag the connect rate, TIME_WAIT duration, and port pool to watch exhaustion appear, then click a fix and watch it clear.

More in Transport & web