DR Vault - Does the DR vault listen on port 1858
128
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 16:10 PM
Question
Does the DR vault listen on port 1858?
Can the PVWA communicate with the DR Vault over port 1858?
Environment
10.10;11.7;12.2;14.6 Privileged Access Manager (PAM, self-hosted) Password Vault Web Access;Disaster Recovery Vault;Vault
Answer
PVWA
The PVWA will attempt to communicate with the vault as defined in the configuration file Vault.ini (default location: C:\CyberArk\Password Vault Web Access\VaultInfo\).
The configuration file will state the IP of the vault and the port. By default this is set to port 1858 (CyberArk's proprietary port).
In Vault.ini once can specify the IP of the primary vault followed by the IP of the DR vault (separated by a comma). In case the primary vault is not reachable, the PVWA will attempt to communicate with the DR vault instead.
The network path between the PVWA and the vault should be allowed on port 1858 in any external firewalls, but there are no specific rules required on the PVWA server itself, as long as the communication is allowed.
DR Vault
In the case of the Disaster Recovery Vault, it can operate in to modes (statuses) - Replicate and Failover.
When the DR vault is in Replicate mode, the vault service is down. In this mode, the DR vault will not respond to requests over TCP 1858, as this is dynamically closed by the vault service in the windows firewall.
When the DR vault is in Failover mode, the vault opens up communication on port 1858 when it loads. This is done dynamically and automatically in the windows firewall by the vault service itself.
During replicate mode, while the DR vault is down, a PowerShell command of Test-NetConnection issued from the PVWA server, will yield a False result
Test-Netconnection -computername 10.0.0.10 -port 1858
(where 0.0.0.0 is the IP of the DR vault)
During failover mode, while the DR vault is up, a PowerShell command of Test-NetConnection issued from the PVWA server, will yield a True result.
Example
In the example below, the TCP connection over port 1858 was tested from the PVWA server to the vault 3 times - When the vault service was up, when it was turned off from the Private Ark Server Console (normal shutdown), and when the vault was turned back on using the green light button: