爱意满满的作品展示区。
Splatoon

PingMe: 查询网站 IP 的命令行工具

  •  
  •   Splatoon · Dec 30, 2019 · 4297 views
    This topic created in 2503 days ago, the information mentioned may be changed or developed.

    Pingme 是一个用于查询网站 IP,或检测 IP 端口可用性的命令行工具。

    使用场景:

    当你想看看一个网站部署在哪里:

    Ctrl+L Ctrl+C

    Ctrl+V 到命令行里:

    $ pingme https://v2ex.com/
    

    就可以查看到网站的相关信息:

    IP     :    104.20.9.218
    City   :    Newark
    Country:    United States
    ISP    :    Cloudflare, Inc.
    AS     :    AS13335 Cloudflare, Inc.
    
    Proxy     :    false
    Scheme    :    https
    Host      :    v2ex.com
    DNS Lookup:    0.88 ms
    TCP       :    1.02 ms
    TLS       :    85.16 ms
    Process   :    190.37 ms
    Transfer  :    0.07 ms
    Total     :    277.65 ms
    

    你也可以检查 IP 的端口是否能访问:

    $ pingme v2ex.com 22
    TCP    ERROR     [2606:4700:10::6814:ada]:22
    
    $ pingme v2ex.com 80
    TCP    OPEN      [2606:4700:10::6814:ada]:80
    
    $ pingme v2ex.com 443
    TCP    OPEN      [2606:4700:10::6814:ada]:443
    

    相关链接:

    代码仓库 Github

    IP 数据来源:https://ip-api.com

    在线查询 IP 信息:http://pingme.cc

    3 replies  •  2020-01-02 09:52:46 +08:00
    yicongcao
    yicongcao
    Dec 30, 2019❤️1
    1
    好用~
    乌贼玩家发来贺电,Booyah
    derekwei
    derekwei
    Dec 30, 2019
    2
    网页版似乎有点问题
    moonrailgun
    moonrailgun
    PRO
    Jan 2, 2020
    3
    我以为能绕过 cdn 看真实地址
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   988 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 23:20 · PVG 07:20 · LAX 15:20 · JFK 18:20
    ♥ Do have faith in what you're doing.