Name | TCP or UDP | Port | Use |
---|---|---|---|
HTTP | tcp | 80 | web |
HTTPS | tcp | 443 | secure SSL/TSL web |
FTP | tcp | 21 (control) 20 (data) | file transfer |
TFTP | udp | 69 | no password, no dir |
Telnet | tcp | 23 | remote login |
SSH | tcp | 22 | secure remote login. Also SFTP, SCP |
SMTP | tcp | 25 | sending email. 587: over TLS |
POP3 | tcp | 110 | retrieving email. 995: over TLS |
IMAP4 | tcp | 143 | retrieving email at server. 993: TLS |
DNS | udp | 53 | name resolution |
DNS | tcp | 53 | zone transfer |
DHCP | udp | 67 | server |
DHCP | udp | 68 | client |
SNMP | udp | 161, 162 trap | network management |
Syslog | udp | 514 | message logging. To the SIEM |
NTP | udp | 123 | time server |
MS SMB | tcp | 445 | file sharing. CIFS |
MS NetBIOS | tcp? | 137,138,139 | name service (broadcast vs WINS server) |
SSDP | udp | 1900 | UPnP discovery |
RDP | 3389 | MS remote desktop | |
PPTP | tcp | 1723 | VPN |
LDAP | tcp | 389 | directory services. LDAPS 636 |
RIP | udp | 520 | interior routing |
BGP | tcp | 179 | exterior routing |
RTP | udp | 5004 | VoIP, video |
SIP | tcp | 5060, 5061 | VoIP signalling |
H.323 | both? | 1720 | call signalling |
IANA: ports 1-49001 "assigned"
C:\Windows\System32\drivers\etc\services
/etc/services
https://en.wikipedia.org/wiki/List_of_TCP_and_UDP_port_numbers
Echo | tcp | 7 | |
Discard | tcp | 9 | sink |
Daytime | tcp | 13 | |
QOTD | tcp | 17 | quote of the day |
CHARGEN | tcp | 19 | source |
Turn on Windows "simple TCP/IP services" Start | Windows System | Control Panel | Programs and Features | ... | Turn Windows features on or off | Simple TCPIP services (i.e. echo, daytime etc.) Then in Services (e.g. Task Manager|Services|Open Services), Start the "Simple TCP/IP Services" service.