According to IANA (Internet Assigned Numbers Authority), there are known ports that was registered from (0-65535) using TCP/UDP
Well Known Ports: 0 through 1023.
Registered Ports: 1024 through 49151.
Dynamic/Private : 49152 through 65535
https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?&page=1
by using CMD prompt with write netstat
From Netstat, we can show the protocol, local address, foreign address, state
- ESTABLISHED
- SYN_SENT
- CLOSE_WAIT
- TIME_WAIT
Using Windows PowerShell
Get-NetIPConfiguration
C:\Windows\System32\drivers\etc
23 : Telnet (TCP) - Not secure
25 : SMTP (TCP)
53 : DNS (TCP/UDP)
80 : HTTP
88 : Kerberos (TCP)
110 : POP3, APOP (TCP)
123 : NTP (TCP)
137 : WINS (UDP)
161 : SNMP (UDP)
162 : SNMP (UDP)
179 : BGP (TCP)
443 : HTTPS
1701 :
5900 : VNC (Virtual Network Computing) or RFB (Remote Frame Buffer)
QUIC :
NBNS
MDNS
ICMPv6
IGMPv3
LLMNR