Use TNC in powershell
C:\>powershell ... .. . PS C:\> tnc google.com -port 80 ComputerName : google.com RemoteAddress : 172.217.167.110 RemotePort : 80 SourceAddress : 10.11.12.13 TcpTestSucceeded : True PS C:\> tnc google.com -port 99 WARNING: TCP connect to (142.250.204.14 : 99) failed ComputerName : google.com RemoteAddress : 142.250.204.14 RemotePort : 99 SourceAddress : 10.11.12.13 PingSucceeded : True TcpTestSucceeded : False