raman,
You're correct, but there is a lot of overlap.
The following is from a service port list compiled from multiple sources, including Microsoft and IANA (Internet Assigned Numbers Authority). Each entry details the port number, the name(s) it's known by, and common uses.
TCP:
135 - DCOM, Microsoft RPC end point to end point mapping, epmap, DCE endpoint mapper, loc-srv, locator service, Client/Server Communication, DCOM (SCM uses TCP/UDP to dynamically assign ports for DCOM), DHCP Manager, Exchange Administrator, RPC, Microsoft Message Queue Server, RPC user manager, RPC service manager, RPC port mapper, SQL session mapper; WINS Manager
137 - NETBIOS_NS, NETBIOS Name Service, nbname, WINS Registration
139 - NETBIOS_SESSION, NETBIOS Session Service, netbios-ssn, nbsession, Common Internet File System (CIFS), DNS, Administration, Login Sequence, NetBT service sessions, Pass Through Verification, Printer sharing session, SQL session
445 - MICROSOFT_DS,Microsoft-DS, Microsoft Common Internet File System (CIFS)
UDP:
135 - DCOM, Microsoft RPC end point to end point mapping, epmap, DCE endpoint mapper, loc-srv, locator service, Client/Server Communication, DCOM (SCM uses TCP/UDP to dynamically assign ports for DCOM)
137 - NETBIOS_NS, NETBIOS Name Service, nbname, browsing requests of NetBIOS over TCP/IP, File shares lookup, Login Sequence, NetBT name lookups, Pass Through Verification, Printer sharing name lookup, SQL Named Pipes encryption over other protocols name lookup, SQL RPC encryption over other protocols lookup, WINS NetBIOS over TCP/IP name service, WINS Proxy
138 - NETBIOS_DGM,NETBIOS Datagram Service, nbdatagram, browsing datagram responses of NetBIOS over TCP/IP, Login Sequence, NetBT datagrams, NetLogon, Pass Through Verification
445 - MICROSOFT_DS, Microsoft-DS, Microsoft Common Internet File System (CIFS)
MICROSOFT_DS (445) is used when the SMB (Simple Message Block) protocol uses the NetBT (TCP/IP NetBIOS Helper, or NetBIOS over TCP/IP) service to support file sharing.
Regards,
Hornus