• 通过psping测试结果,初步判断远端服务器的状态


    1.psping的输出结果为如下正常显示时,说明远端服务器的IP及端口可用

    C:Usershe.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:Usershe.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:Usershe.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
  • 相关阅读:
    Redis&PHP的使用安装-windows版
    【JAVA】使用Eclipse依赖生成jar包时,避免最外层同时生成资源文件的配置。
    【ActiveMQ】重写监听
    【ActiveMQ】设置自动重连
    【ActiveMQ】持久化消息队列的三种方式
    【Spring】手动获取spring容器对象时,报no qualifying bean of type is defined
    【监控】使用probe对tomcat服务进行监控
    【前端】使用weinre对手机、微信浏览器页面调试
    【前端】一句命令快速合并压缩 JS、CSS
    【前端】CSS雪碧
  • 原文地址:https://www.cnblogs.com/stonehe/p/7612087.html
Copyright © 2020-2023  润新知