What is Port?
A numbered endpoint (0-65535) that identifies specific processes or services on a networked computer for communication.
Ports allow multiple network services to run on a single IP address. Well-known ports (0-1023) include HTTP (80), HTTPS (443), SSH (22), FTP (21), SMTP (25), and DNS (53). Registered ports (1024-49151) are used by applications.
Firewalls control access by allowing or blocking specific ports. Port scanning (nmap) discovers open ports on a system. Running services on non-standard ports provides slight security through obscurity but is not a real security measure.