This article describes how to execute Windows PowerShell commands to verify the status of ports being open on the target server. Ports 30000 and 30001 need to be open in a redundant object server configuration to allow the heartbeat process communicate between paired object servers. Many times, the customer's firewall or anti-virus software prevents or automatically closes ports which have not had specific rules set for them. While there are many freeware tools which checks ports, there is no need to download any 3rd party software, as the Microsoft OS has a built-in commands, executed thru PowerShell, which verifies the status of the ports.
- Author: Frank Ross
- Published: 06/21/2022
- Applies to: Application Server Object Server Redundancy Configuration (all versions)
Launch the Microsoft PowerShell window via the Windows Start button
Upon successful launching of the PowerShell window, the syntax of the commands are as follows:
test-netconnection -port 30001 -computer IPAddress
The IPAddress to be used is for the RMC (remote message channel) NIC (network interface card) for the paired server. In other words, from the primary object server, you would test the port 30001 on the RMC on the backup server. The same is true in reverse: from the backup object server, you would test the port 30001 on the RMC of the primary server.
Here is an example of a closed port 30001 while testing the connection from the primary object server (IPAddress ending in .121) to the RMC NIC of the redundant server. In this example, ###.###.###.122 represents the backup server's RMC NIC. Port 30001 is closed and so the result is a Failed connection.
Here is an example of an open port 30001 while testing the connection from the backup object server (IPAddress ending in .122) to the RMC NIC of the primary server. In this example, ###.###.###.121 represents the primary server's RMC NIC. Port 30001 is open and so the result is a successful connection.