To use a server effectively, it’s important to know the relevant network ports. These ports allow communication between different services and applications. Below is a list of common ports often used on Linux and Windows servers.
Program
Protocols & Port(s)
Minecraft Server
TCP 25565
Teamspeak
UDP 9987TCP 30033
Web Server
TCP 80, 443
CS2 Server
TCP 27015-27030, 27036-27037UDP 4380, 27000-27031, 27036
RDP
TCP 3389
SQL Server
TCP 1433, 1434
FTP
TCP 21, 20
SMTP
TCP 25
IMAP
TCP 143
POP3
TCP 110
LDAP
TCP 389
DNS
UDP 53TCP 53
DHCP
UDP 67, 68
NTP
UDP 123