当前位置:网站首页>为什么ping不通网站 但是却可以访问该网站?
为什么ping不通网站 但是却可以访问该网站?
2022-06-25 11:45:00 【lxw1844912514】
今天,在访问一个网站的时候,我想看看它的ip是多少,就在windows 命令行下去ping了下该网站/主机;ip地址是解析出来了,但是却发现请求超时,没有ping通,当时我就很困惑。然后,我又tracert 该 ip 跟踪了一下 想看看到底什么问题,最后我发现,当跟踪到该 ip的时候 请求被拒绝了。突然之间,应该是服务端 设置了相关策略对网络层icmp 回显请求报文进行了限制;而访问网页用的是 http 协议,因此会出现此现象 。
ping 的实质:发送一个icmp回显请求报文给目的的主机,并等待回显的icmp应答。然后打印出回显报文。
回显的结果包括:字节数 、 反应时间、TTL(生存时间)
ping不通网站的原因:
一、网络设置的问题
这种原因比较多出现在需要手动指定IP、网关、DNS服务器联网方式下,及使用代理服务器上网的。仔细检查计算机的网络设置。
三、IE浏览器本身的问题
四、网络防火墙的问题
如果网络防火墙设置不当,如安全等级过高、不小心把IE放进了阻止访问列表、错误的防火墙策略等,可尝试检查策略、降低防火墙安全等级或直接关掉试试是否恢复正常。
五、网络协议和网卡驱动的问题
IE无法浏览,有可能是网络协议(特别是TCP/IP协议)或网卡驱动损坏导致,可尝试重新网卡驱动和网络协议。
六、HOSTS文件的问题
HOSTS文件被修改,也会导致浏览的不正常,解决方法当然是清空HOSTS文件里的内容。
七、系统文件的问题
边栏推荐
- Spark tuning tool -- detailed explanation of sparklens
- Cesium editing faces
- 金太阳教育美股上市:市值3.6亿美元 成小盘中概股
- Recommend a virtual machine software available for M1 computer
- Source code analysis of AQS & reentrantlock
- cnds
- Eureka accesses the console and reports an error: whitelabel error page
- VFP serial port communication is difficult for 9527. Maomao just showed his skill and was defeated by kiss
- Capacity expansion mechanism of Dict Of redis (rehash)
- The temporary table from XML to VFP is simple and easy to use and worth collecting
猜你喜欢
Eureka accesses the console and reports an error: whitelabel error page
记一次给OpenHarmony提交代码的过程
Ladder side tuning: the "wall ladder" of the pre training model
Detailed explanation of spark specification
Deeply understand Flink SQL execution process based on flink1.12
牛客网:分糖果问题
记一次有趣的逻辑SRC挖掘
Recommend a virtual machine software available for M1 computer
Specific meanings of node and edge in Flink graph
Niuke.com: Candy distribution
随机推荐
Introduction to JVM principle
How TCP handles exceptions during three handshakes and four waves
Niuke: rotation array
云原生数据湖以存储、计算、数据管理等能力通过信通院评测认证
VFP calls the command line image processing program, and adding watermark is also available
Which securities company's account is better and safer to open
How to realize the rich text editor function of mobile terminal
The idea of mass distribution of GIS projects
一個硬件工程師走過的彎路
How far is it from the DBF of VFP to the web salary query system?
Is the online stock trading account opening ID card information safe?
Redis雪崩、穿透和击穿是什么?
基于超算平台气象预警并行计算架构研究
An interesting logic SRC mining
時創能源沖刺科創板:擬募資11億 年營收7億淨利反降36%
Mui scroll bar recovery
Develop two modes of BS mode verification code with VFP to make your website more secure
Detailed explanation of Flink checkpoint specific operation process and summary of error reporting and debugging methods
翌圣生物冲刺科创板:25%收入来自新冠产品销售 拟募资11亿
.Net Core 中使用工厂模式