Skip to main content

Ports

Use this page to plan the firewall rules for a Netwrix Privilege Secure for Access Management deployment. Each table lists the port, the connection direction, and what the port is for.

Console port​

The Privilege Secure Console and REST API listen on TCP port 6500. The default console URL is https://<nps-server>:6500.

The installer sets this port in the HTTPS binding of the IIS site named "SbPAM Web Service" and creates a matching Windows Firewall rule named "SbPAM Web Service Port (6500)". The installer has no property for the port, and Netwrix doesn't document a procedure to change it. Use 6500 in every URL, firewall rule, and identity provider setting.

Settings that store the console URL​

Several components store the console URL. Each one must match the address that users and services use to reach the console.

ComponentWhere the URL is stored
Action, Email, Proxy, Scheduler, SIEM, and Host Scan servicesNPS Rest URL in System Settings > Services. See Set the NPS REST URL and register services.
Approval and report emailsWebsite URL in System Settings > Email. See Configure email notifications.
OpenID Connect and SAML sign-inThe callback (redirect) URI registered with the identity provider. See Configure a SAML connector and Configure an OpenID Connect connector.
Remote Access GatewayThe NPS:Uri setting in the gateway configuration. See Remote Access Gateway requirements.
High availability managerThe console port that the manager uses to reach each server node. See High availability options.
Desktop shortcutThe shortcut that the installer creates opens the console URL on port 6500.
Service nodes on other serversThe URL that you enter when you register a remote service. See Install services on additional servers.
Browser extensionThe server URL that each user enters when signing in to the extension.

Application server​

Inbound to the application server​

PortProtocolSourcePurpose
6500TCPBrowsers, service nodes, and the Remote Access GatewayConsole and REST API. Service nodes register against this port.
4489TCPRDP clientsRDP proxy
4422TCPSSH clientsSSH proxy
6520, 6523, 6524TCPRemote proxy and service nodesService mesh registration and proxy REST (6520), leaf nodes (6523), cluster nodes (6524)

The application server also uses these ports internally. Don't expose the loopback ports to other hosts.

PortProtocolPurpose
6501TCPLicense service (local host only)
6521TCPProxy message service client (local host only)
6522TCPProxy connection broker

Each node advertises the address of its connection broker, on port 6522 by default, to the other nodes. The nodes that relay a session connect to that address, so allow 6522 between the application server and the proxy servers.

Outbound to Active Directory​

Open these ports between the application server and the domain controllers.

PortProtocolDestinationPurpose
135TCPDomain controllerMicrosoft Remote Procedure Call (MS-RPC)
389TCP and UDPDomain controllerLDAP
636TCPDomain controllerLDAPS
53TCP and UDPDNS serverDNS
137 and 138UDPDomain controllerNetBIOS
9389TCPDomain controllerActive Directory Web Services
88TCP and UDPDomain controllerKerberos

Windows uses the dynamic port range 49152 to 65535 for RPC replies. For more information, see Microsoft's article Service overview and network port requirements for Windows.

Outbound to Microsoft Entra ID​

To manage Microsoft Entra ID, the application server must reach https://login.microsoftonline.com and https://graph.microsoft.com on TCP port 443.

Outbound to target systems​

PortProtocolDestinationPurpose
3389TCPWindows hostsRDP
5985 and 5986TCPWindows hostsPowerShell remoting over Windows Remote Management (WinRM), including password changes. 5985 is HTTP and 5986 is HTTPS.
22TCPLinux, BSD, Cisco, and PAN-OS hostsSSH, including password changes
443TCPPAN-OS hostsPAN-OS XML API (account management)

When the Proxy service or Action service runs on another server, open these ports from that server instead: the Proxy service uses RDP and SSH, and the Action service uses WinRM, SSH, and the PAN-OS API.

Resource settings can override the default RDP, SSH, and WinRM ports for a host.

Database​

PortProtocolDatabaseNotes
5432TCPPostgreSQL (bundled installer)Default port that the Setup Launcher records and the database settings use. To see the port your installation uses, check System Settings > Database. After an upgrade from PostgreSQL 12, PostgreSQL 16 uses port 5437.
1433TCPMicrosoft SQL ServerYou provide SQL Server.

Allow the port only between the application server and the database host when the database is remote.

Service nodes and proxy servers​

Antivirus exclusions apply on every server. See Additional service node and proxy server requirements.

PortProtocolDirectionPurpose
6500TCPService node to application serverRegister an Action Service or another remote service.
6520TCPProxy server to application serverRegister the Proxy Service and proxy REST.
6523TCPProxy server to cluster member (the application server)Leaf node connection. The Proxy Service on the application server is the cluster member. A proxy server on another server joins as a leaf node and opens this connection to the application server.
6524TCPBetween cluster membersCluster routes. Cluster members connect to each other.
4489TCPRDP clients to proxy serverRDP proxy
4422TCPSSH clients to proxy serverSSH proxy

The Proxy Service installer creates Windows Firewall rules for 4422, 4489, and the 6520 to 6525 range.

A proxy server joins the node mesh through the join address, which uses port 6520 unless the address names another port.

Remote Access Gateway​

The Remote Access Gateway has three components. The portal sits in the perimeter network, and the gateway and guacd sit inside the network.

PortProtocolConnectionPurpose
443TCPUsers to the portalPortal HTTPS
80TCPUsers to the portalRedirect to HTTPS. This port must be free on the portal server.
6550TCPPortal to gatewayGateway web service
6500TCPGateway to application serverConsole and REST API
4822TCPGateway to guacdGuacamole daemon
4489TCPguacd to proxyRDP proxy
4422TCPguacd to proxySSH proxy

The gateway installer creates a Windows Firewall rule named "NPS Gateway Web Service Port (6550)". The gateway and portal installers create no rules for 443, 80, or 4822.

Because the installers create no rules for these ports, allow 443, 80, and 4822 in your own firewall policy.

For the hosts, software, and certificates that the gateway needs, see Remote Access Gateway requirements.