1.psping的输出结果为如下正常显示时,说明远端服务器的IP及端口可用
C:\Users\he.liming>psping 139.219.66.205:4352 PsPing v2.10 - PsPing - ping, latency, bandwidth measurement utility
Copyright (C) 2012-2016 Mark Russinovich
Sysinternals - www.sysinternals.com TCP connect to 139.219.66.205:4352:
5 iterations (warmup 1) ping test:
Connecting to 139.219.66.205:4352 (warmup): from 172.31.*.*:55920: 38.92ms
Connecting to 139.219.66.205:4352: from 172.31.*.*:55921: 39.01ms
Connecting to 139.219.66.205:4352: from 172.31.*.*:55922: 39.26ms
Connecting to 139.219.66.205:4352: from 172.31.*.*:55923: 38.87ms
Connecting to 139.219.66.205:4352: from 172.31.*.*:55924: 39.08ms TCP connect statistics for 139.219.66.205:4352:
Sent = 4, Received = 4, Lost = 0 (0% loss),
Minimum = 38.87ms, Maximum = 39.26ms, Average = 39.05ms
2. psping的输出结果为如下异常显示时,有可能是远端服务器的IP不可用,端口不可用,甚至IP及端口都不可用
C:\Users\he.liming>ping 48.125.170.126:22
Ping request could not find host 48.125.170.126:22. Please check the name and try again. C:\Users\he.liming>psping 48.125.170.126:22 PsPing v2.10 - PsPing - ping, latency, bandwidth measurement utility
Copyright (C) 2012-2016 Mark Russinovich
Sysinternals - www.sysinternals.com TCP connect to 48.125.170.126:22:
5 iterations (warmup 1) ping test:
Connecting to 48.125.170.126:22 (warmup): from 0.0.0.0:58574:
This operation returned because the timeout period expired.
Connecting to 48.125.170.126:22: from 0.0.0.0:58578:
This operation returned because the timeout period expired.
Connecting to 48.125.170.126:22: from 0.0.0.0:58580:
This operation returned because the timeout period expired.
Connecting to 48.125.170.126:22: from 0.0.0.0:58583:
This operation returned because the timeout period expired.
Connecting to 48.125.170.126:22: from 0.0.0.0:58586:
This operation returned because the timeout period expired. TCP connect statistics for 48.125.170.126:22:
Sent = 4, Received = 0, Lost = 4 (100% loss),
Minimum = 0.00ms, Maximum = 0.00ms, Average = 0.00ms