Promptles
Backend & APIs

Port

intermediate

Definition

A numbered door on a computer that tells incoming traffic which running program it's meant for, so several programs can share one machine.

In the wild

In `localhost:3000`, the 3000 is the port, so the browser reaches the app listening on door 3000 and not the database on door 5432.

More from Backend & APIs