Viewing a single comment thread. View all comments

Schnutzel t1_j1yv3pi wrote

A port is a 16-bit number, i.e. from 0 to 65535.

0 is a special number (so not actually used as a port) and certain ports are commonly used by certain protocols (for example 80 is for HTTP, 443 for HTTPS, 22 for SSH), but most are free for use.

1