检查网络端口

1.Ping + ip

ping www.baidu.com


返回内容:
Pinging www.a.shifen.com [39.156.66.14] with 32 bytes of data:
Reply from 39.156.66.14: bytes=32 time=29ms TTL=49
Reply from 39.156.66.14: bytes=32 time=29ms TTL=49

39.156.66.14 ▒▒ Ping ͳ▒▒▒▒Ϣ:
    ▒▒▒ݰ▒: ▒ѷ▒▒▒ = 2▒▒▒ѽ▒▒▒ = 2▒▒▒▒ʧ = 0 (0% ▒▒ʧ)▒▒
▒▒▒▒▒г̵Ĺ▒▒▒ʱ▒▒(▒Ժ▒▒▒Ϊ▒▒λ):
    ▒▒▒ = 29ms▒▒▒ = 29ms▒▒ƽ▒▒ = 29ms

2.curl + ip + port

curl http://127.0.0.1:443


返回内容:
<html>
<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>
<body>
<center><h1>400 Bad Request</h1></center>
<center>The plain HTTP request was sent to HTTPS port</center>

版权声明:本文为weixin_44041700原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。