WSL无法联网

总结:WSL无法连接,是被火绒拦截了。

发现问题

下载JDK 8时一直提示失败。

分析问题

使用ping -c www.baidu.com 无法ping通。window是有网络的,那么只能是wsl无法联网。

shell 复制代码
ping -c 4 www.baidu.com
PING www.a.shifen.com (36.152.44.93) 56(84) bytes of data.
From 172.20.130.45 icmp_seq=1 Destination Host Unreachable
From 172.20.130.45 icmp_seq=2 Destination Host Unreachable
From 172.20.130.45 icmp_seq=3 Destination Host Unreachable
From 172.20.130.45 icmp_seq=4 Destination Host Unreachable

--- www.a.shifen.com ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3127ms
pipe 4

尝试重置网关,ping不通。

重装wsl,ping不通。

解决问题

尝试使用手机热点,一开始是能ping通的,过了一会就ping不通了,期间火绒有个弹窗,提示拦截了一个ip。

尝试退出火绒,ping正常。

shell 复制代码
ping -c 4 www.baidu.com
PING www.a.shifen.com (183.2.172.177) 56(84) bytes of data.
64 bytes from 183.2.172.177: icmp_seq=1 ttl=42 time=36.3 ms
64 bytes from 183.2.172.177: icmp_seq=2 ttl=42 time=36.9 ms
64 bytes from 183.2.172.177: icmp_seq=3 ttl=42 time=31.9 ms
64 bytes from 183.2.172.177: icmp_seq=4 ttl=42 time=44.0 ms

--- www.a.shifen.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 31.917/37.268/44.022/4.342 ms

火绒的安全日志是空的,不确定是哪个功能拦截的。

逐个排查,发现是局域网APR拦截导致,关闭该功能即可。

相关推荐
qq_3692243310 天前
Windows全系通用!ntdll.dll文件丢失、报错、闪退问题的完整排查与修复教程
windows·dll·dll修复·dll丢失·dll错误
阿米亚波11 天前
【Windows】QEMU 启动 openEuler aarch64/arm64 架构系统 + 离线软件源
linux·windows·经验分享·笔记·架构·arm
张飞飞飞飞飞11 天前
Tmux命令使用教程
linux·服务器·ubuntu
caimouse11 天前
Reactos 第 10 章 网络操作 — 10.3.1 NIC驱动
网络·windows
初圣魔门首席弟子11 天前
Node.js 详细介绍(知识库版)
windows·qt·node.js·知识库
CHENG-JustDoIt11 天前
AI工具 | 爆火开源项目Odysseus AI 工作台:从项目介绍、部署情况及其使用等多方位分析指南(含详细步骤)
大数据·人工智能·windows·python·ai·开源·github
kingbal11 天前
Windows:flutter环境搭建
windows·flutter
未若君雅裁11 天前
Python 数据容器详解,list、tuple、str、set、dict 到底怎么选
windows·python·list
CodeKwang11 天前
Windows 环境 OCCT 8.0 编译构建及与 Qt6 项目集成
windows·qt·opencascade
我是伪码农11 天前
小兔鲜1-25
linux·服务器·windows