Port Reference

+ Palo Alto App-IDs

Search by port number or service name. App-IDs shown for policy building.

Port 389 · LDAP

Port 389 is LDAP, TCP and UDP.

TCPUDP
medium risk
App-IDldap

Lightweight Directory Access Protocol — directory queries against Active Directory or other LDAP servers.

Palo Alto

Create the service objects for this port, then allow the App-ID on it. Restricting the rule to the port's service object keeps the rule working on a non-default port and stops the App-ID matching on other ports. Replace the placeholders with your own rule name and zones.

set service tcp-389 protocol tcp port 389
set service udp-389 protocol udp port 389
set rulebase security rules <rule-name> from <from-zone> to <to-zone> source any destination any application ldap service [ tcp-389 udp-389 ] action allow

Risk and exposure

Rated medium risk. Restrict this port to the sources that need it and keep the service patched; avoid exposing it to the whole internet unless the service is meant to be public.

Check it

  • Linux ss -tlnp | grep :389
  • Linux ss -ulnp | grep :389
  • PowerShell Test-NetConnection <host> -Port 389
  • nmap nmap -p 389 <host>
  • nmap nmap -sU -p 389 <host>

Related ports

← Search all ports