Viewing a single comment thread. View all comments

Brianprokpo456 OP t1_j1yura6 wrote

Ok thanks, but are they discrete or there can exist as many ports as can be defined in the computer?

1

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