Testing (pinging) a connection to an IP with a port number can be useful when troubleshooting JT Live or connection to Jarrison Systems APIs. Note Windows Powershell is required for this test.
The command format is: Test-NetConnection <server_ip_address> -p <server_port_number>
1) Open Windows Powershell from the Start menu
2) Enter (without quote symbols): “Test-NetConnection <IP address to test> -p <port_number>” and press Enter.
Example of response when connection fails:
PS C:\Users\User> Test-NetConnection 192.0.26.43 -p 1414
WARNING: TCP connect to (192.0.26.43 : 1414) failed
ComputerName : 192.0.26.43
RemoteAddress : 192.0.26.43
RemotePort : 1414
InterfaceAlias : Wi-Fi
SourceAddress : 192.17.171.107
PingSucceeded : True
PingReplyDetails (RTT) : 6 ms
TcpTestSucceeded : False
This example shows the IP connecting however the port does not.
Example of response when connection succeeds:
PS C:\Users\User> Test-NetConnection 192.0.26.43 -p 10999
ComputerName : 192.0.26.43
RemoteAddress : 192.0.26.43
RemotePort : 10999
InterfaceAlias : Wi-Fi
SourceAddress : 192.17.171.107
TcpTestSucceeded : True