Skip to main content
Curated port reference

Port 138: NetBIOS Datagram Service

NetBIOS Datagram Service commonly uses port 138 over UDP. Other transports listed below are registry conventions only. Review its purpose, traffic direction and operational security considerations.

138UDP

NetBIOS Datagram Service

Connectionless NetBIOS datagrams used by legacy Windows networking.

Typical use

Legacy browsing, announcements and file-sharing support.

Traffic direction

Bidirectional

Security considerations

Keep within trusted legacy segments and retire where direct-hosted SMB and DNS meet application needs.

138TCP

netbios-dgm (TCP reference coverage)

netbios-dgm (TCP reference coverage) is documented as a network service convention for port 138 over TCP.

Typical use

Use this reference entry when identifying or validating systems documented to use 138/TCP.

Traffic direction

Varies

Security considerations

Confirm the listening process and current vendor documentation before permitting traffic; a listed convention does not prove the active service or its security posture.