Test-NetConnection is a PowerShell cmdlet used to diagnose network connectivity issues. It’s part of Windows PowerShell 4.0 and later, and provides a more detailed alternative to traditional tools like ping or tracert.
Capabilities:
Ping a remote host, replace your-server.com with your servers address.
Test-NetConnection your-server.com
Output:
PS C:\Users\diffl> Test-NetConnection yourserver.com ComputerName : Your Server RemoteAddress : XXX.XXX.XXX.XX InterfaceAlias : Loopback Pseudo-Interface 1 SourceAddress : XXX.XXX.XXX.XX PingSucceeded : True PingReplyDetails (RTT) : 220 ms
Ping the remote host adding the port number, TapeTrack operates over port 5000 by default. or next most common on port 443
Test-NetConnection your-server.com -Port 5000
Output:
PS C:\> Test-NetConnection yourserverk.com -P 5000 ComputerName : yourserver.com RemoteAddress : XXX.XXX.XXX.XXX RemotePort : 5000 InterfaceAlias : Wi-Fi SourceAddress : XXX.XXX.XXX.XXX PingSucceeded : True PingReplyDetails (RTT) : 221 ms TcpTestSucceeded : False
TcpTestSucceeded : False shows the port is blocked, or TapeTrack is not running on that port.