Windows System Services and Ports

System services ports

Application protocol Protocol Ports
Active Directory Web Services (ADWS) TCP 9389
Active Directory Management Gateway Service TCP 9389
Global Catalog TCP 3269
Global Catalog TCP 3268
LDAP Server TCP 389
LDAP Server UDP 389
LDAP SSL TCP 636
IPsec ISAKMP UDP 500
NAT-T UDP 4500
RPC TCP 135
RPC randomly allocated high TCP ports¹ TCP 1024 – 5000
49152 – 65535²
SMB TCP 445

 

Application Layer Gateway Service

System service name: ALG

Application protocol Protocol Ports
FTP control TCP 21

 

ASP.NET State Service

System service name: aspnet_state

Application protocol Protocol Ports
ASP.NET Session State TCP 42424

 

Certificate Services

System service name: CertSvc

Application protocol Protocol Ports
RPC TCP 135
Randomly allocated high TCP ports¹ TCP random port number between 1024 – 65535
random port number between 49152 – 65535²

 

Cluster Service

System service name: ClusSvc

Application Protocol Ports
Cluster Service UDP 3343
Cluster Service TCP 3343 (This port is required during a node join operation.)
RPC TCP 135
Cluster Administrator UDP 137
Randomly allocated high UDP ports¹ UDP Random port number between 1024 and 65535
Random port number between 49152 and 65535²

 

DHCP Server

System service name: DHCPServer

Application protocol Protocol Ports
DHCP Server UDP 67
MADCAP UDP 2535
DHCP Failover TCP 647

 

Distributed File System Namespaces

System service name: Dfs

Application protocol Protocol Ports
NetBIOS Datagram Service UDP 138³
NetBIOS Session Service TCP 139³
LDAP Server TCP 389
LDAP Server UDP 389
SMB TCP 445
RPC TCP 135
Randomly allocated high TCP ports¹ TCP random port number between 1024 – 65535
random port number between 49152 – 65535²

 

Distributed File System Replication

System service name: DFSR

Application protocol Protocol Ports
RPC TCP 135
RPC TCP 5722³
Randomly allocated high TCP ports¹ TCP random port number between 1024 – 65535
random port number between 49152 – 65535²

 

Distributed Link Tracking Server

System service name: TrkSvr

Application protocol Protocol Ports
RPC TCP 135
Randomly allocated high TCP ports¹ TCP random port number between 1024 – 65535
random port number between 49152 – 65535²

 

Distributed Transaction Coordinator

System service name: MSDTC

Application protocol Protocol Ports
RPC TCP 135
Randomly allocated high TCP ports¹ TCP random port number between 1024 – 65535
random port number between 49152 – 65535²

 

DNS Server

System service name: DNS

Application protocol Protocol Ports
DNS UDP 53
DNS TCP 53

 

Event Log

System service name: Eventlog

Application protocol Protocol Ports
RPC/named pipes (NP) TCP 139
RPC/NP TCP 445
RPC/NP UDP 137
RPC/NP UDP 138

 

Fax Service

System service name: Fax

Application protocol Protocol Ports
NetBIOS Session Service TCP 139
SMB TCP 445
RPC TCP 135
Randomly allocated high TCP ports¹ TCP random port number between 1024 – 65535
random port number between 49152 – 65535²

 

File Replication

System service name: NtFrs

Application protocol Protocol Ports
RPC TCP 135
Randomly allocated high TCP ports¹ TCP random port number between 1024 – 65535
random port number between 49152 – 65535²

 

File Server for Macintosh

System service name: MacFile

Application protocol Protocol Ports
File Server for Macintosh TCP 548

 

FTP Publishing Service

System service name: MSFTPSVC

Application protocol Protocol Ports
FTP control TCP 21
FTP default data TCP 20
Randomly allocated high TCP ports TCP random port number between 1024 – 65535
random port number between 49152 – 65535¹

 

Group Policy

System service name: Group Policy

Application protocol Protocol Ports
DCOM ¹ TCP + UDP random port number between 1024 – 65535
random port number between 49152 – 65535²
ICMP (ping) ³ ICMP  
LDAP TCP 389
SMB TCP 445
RPC ¹ TCP 135 
random port number between 1024 – 65535
random port number between 49152 – 65535 
²

 

HTTP SSL

System service name: HTTPFilter

Application protocol Protocol Ports
HTTPS TCP 443

 

Hyper-V service

Hyper-V replica

Application protocol Protocol Port
WMI TCP 135
Randomly allocated high TCP ports TCP Random port number between 49152 and 65535
Kerberos authentication (HTTP) TCP 80
Certificate-based authentication (HTTPS) TCP 443

Hyper-V live migration

Application protocol Protocol Port
Live migration TCP 6600
SMB TCP 445
Cluster Service traffic UDP 3343

 

Internet Authentication Service

System service name: IAS

Application protocol Protocol Ports
Legacy RADIUS UDP 1645
Legacy RADIUS UDP 1646
RADIUS Accounting UDP 1813
RADIUS Authentication UDP 1812

 

Internet Connection Firewall (ICF)/Internet Connection Sharing

System service name: SharedAccess

Application protocol Protocol Ports
DHCP Server UDP 67
DNS UDP 53
DNS TCP 53

 

IPAM

ISA/TMG Server

Application protocol Protocol Ports
Configuration Storage (domain) TCP 2171 (note 1)
Configuration Storage (replication) TCP 2173 (note 1)
Configuration Storage (workgroup) TCP 2172 (note 1)
Firewall Client Application TCP/UDP 1025-65535 (note 2)
Firewall Client Control Channel TCP/UDP 1745 (note 3)
Firewall Control Channel TCP 3847 (note 1)
RPC TCP 135 (note 6)
Randomly allocated high TCP ports (note 6) TCP random port number between 1024 – 65535 
random port number between 10000 – 65535 (note 7)
Web Management TCP 2175 (note 1, 4)
Web Proxy Client TCP 8080 (note 5)

 

Kerberos Key Distribution Center

System service name: kdc

Application protocol Protocol Ports
Kerberos TCP 88
Kerberos UDP 88
Kerberos Password V5 UDP 464
Kerberos Password V5 TCP 464
DC Locator UDP 389

 

License Logging

System service name: LicenseService

Application protocol Protocol Ports
NetBIOS Datagram Service UDP 138
NetBIOS Session Service TCP 139
SMB TCP 445

 

Message Queuing

System service name: MSMQ

Application protocol Protocol Ports
MSMQ TCP 1801
MSMQ UDP 1801
MSMQ-DCs TCP 2101
MSMQ-Mgmt TCP 2107
MSMQ-Ping UDP 3527
MSMQ-RPC TCP 2105
MSMQ-RPC TCP 2103
RPC TCP 135

 

Messenger

System service name: Messenger

Application protocol Protocol Ports
NetBIOS Datagram Service UDP 138

 

Microsoft Exchange MTA Stacks

System service name: MSExchangeMTA

Application protocol Protocol Ports
X.400 TCP 102

 

Microsoft POP3 Service

System service name: POP3SVC

Application protocol Protocol Ports
POP3 TCP 110

 

Net Logon

System service name: Netlogon

Application protocol Protocol Ports
NetBIOS Datagram Service UDP 138 ³
NetBIOS Name Resolution UDP 137 ³
NetBIOS Session Service TCP 139 ³
SMB TCP 445
LDAP UDP 389
RPC¹ TCP 135, random port number between 1024 – 65535
135, random port number between 49152 – 65535²

 

NetMeeting Remote Desktop Sharing

System service name: mnmsrvc

Application protocol Protocol Ports
Terminal Services TCP 3389

 

Network News Transfer Protocol (NNTP)

System service name: NNTPSVC

Application protocol Protocol Ports
NNTP TCP 119
NNTP over SSL TCP 563

 

Offline Files, User Profile Service, Folder Redirection, and Primary Computer

System service names: ProfSvcCscService

Application protocol Protocol Ports
SMB TCP 445
Global Catalog TCP 3269
Global Catalog TCP 3268
LDAP Server TCP 389
LDAP Server UDP 389
LDAP SSL TCP 636

 

Performance Logs and Alerts

System service name: SysmonLog

Application protocol Protocol Ports
NetBIOS Session Service TCP 139

 

Print Spooler

System service name: Spooler

Application protocol Protocol Ports
NetBIOS Datagram Service UDP 138
NetBIOS Name Resolution UDP 137
NetBIOS Session Service TCP 139
SMB TCP 445

 

Remote Installation

System service name: BINLSVC

Application protocol Protocol Ports
BINL UDP 4011

 

Remote Procedure Call (RPC)

System service name: RpcSs

Application protocol Protocol Ports
RPC TCP 135
RPC over HTTPS TCP 593
NetBIOS Datagram Service UDP 138
NetBIOS Name Resolution UDP 137
NetBIOS Session Service TCP 139
SMB TCP 445

 

Remote Procedure Call (RPC) Locator

System service name: RpcLocator

Application protocol Protocol Ports
NetBIOS Datagram Service UDP 138
NetBIOS Name Resolution UDP 137
NetBIOS Session Service TCP 139
SMB TCP 445

 

Remote Storage Notification

System service name: Remote_Storage_User_Link

Application protocol Protocol Ports
RPC TCP 135
Randomly allocated high TCP ports¹ TCP random port number between 1024 – 65535
random port number between 49152 – 65535²

 

Remote Storage

System service name: Remote_Storage_Server

Application protocol Protocol Ports
RPC TCP 135
Randomly allocated high TCP ports¹ TCP random port number between 1024 – 65535
random port number between 49152 – 65535²

 

Routing and Remote Access

System service name: RemoteAccess

Application protocol Protocol Ports
GRE (IP protocol 47) GRE n/a
IPsec AH (IP protocol 51) AH n/a
IPsec ESP (IP protocol 50) ESP n/a
L2TP UDP 1701
PPTP TCP 1723

 

Server

System service name: lanmanserver

Application protocol Protocol Ports
NetBIOS Datagram Service UDP 138
NetBIOS Name Resolution UDP 137
NetBIOS Session Service TCP 139
SMB TCP 445

 

SharePoint Portal Server

Application protocol Protocol Ports
HTTP TCP 80
HTTPS TCP 443

 

Simple Mail Transfer Protocol (SMTP)

System service name: SMTPSVC

Application protocol Protocol Ports
SMTP TCP 25

 

Simple TCP/IP Services

Application protocol Protocol Ports
Chargen TCP 19
Chargen UDP 19
Daytime TCP 13
Daytime UDP 13
Discard TCP 9
Discard UDP 9
Echo TCP 7
Echo UDP 7
Quotd TCP 17
Quoted UDP 17

 

SNMP Service

System service name: SNMP

Application protocol Protocol Ports
SNMP UDP 161

 

SNMP Trap Service

System service name: SNMPTRAP

Application protocol Protocol Ports
SNMP Traps Outgoing UDP 162

 

SSDP Discovery Service

System service name: SSDPRSR

Application protocol Protocol Ports
SSDP UDP 1900
SSDP event notification TCP 2869
SSDP legacy event notification TCP 5000

 

TCP/IP Print Server

System service name: LPDSVC

Application protocol Protocol Ports
LPD TCP 515

 

Telnet

System service name: TlntSvr

Application protocol Protocol Ports
Telnet TCP 23

 

Terminal Services

System service name: TermService

Application protocol Protocol Ports
Terminal Services TCP 3389

 

Terminal Services Licensing

System service name: TermServLicensing

Application protocol Protocol Ports
RPC TCP 135
Randomly allocated high TCP ports¹ TCP random port number between 1024 – 65535
random port number between 49152 – 65535²
NetBIOS Datagram Service UDP 138
NetBIOS Name Resolution UDP 137
NetBIOS Session Service TCP 139
SMB TCP 445

 

Terminal Services Session Directory

System service name: Tssdis

Application protocol Protocol Ports
RPC TCP 135
Randomly allocated high TCP ports¹ TCP random port number between 1024 – 65535
random port number between 49152 – 65535²

 

Trivial FTP Daemon

System service name: tftpd

Application protocol Protocol Ports
TFTP UDP 69

 

UPnP Device Host

System service name: UPNPHost

Application protocol Protocol Ports
UPNP TCP 2869

 

Windows Internet Name Service (WINS)

System service name: WINS

Application protocol Protocol Ports
NetBIOS Name Resolution UDP 137
WINS Replication TCP 42
WINS Replication UDP 42

 

Windows Media Services

System service name: WMServer

Application protocol Protocol Ports
HTTP TCP 80
MMS TCP 1755
MMS UDP 1755
MS Theater UDP 2460
RTCP UDP 5005
RTP UDP 5004
RTSP TCP 554

 

Windows Remote Management (WinRM)

System service name: WinRM

Application protocol Protocol Ports
WinRM 1.1 and earlier TP The default HTTP port is TCP 80, and the default HTTPS port is TCP 443.
WinRM 2.0 TP The default HTTP port is TCP 5985, and the default HTTPS port is TCP 5986.

 

Windows Time

System service name: W32Time

Application protocol Protocol Ports
NTP UDP 123
SNTP UDP 123

 

World Wide Web Publishing Service

System service name: W3SVC

Application protocol Protocol Ports
HTTP TCP 80
HTTPS TCP 443