Home
Sign Up
Sign In
›
升级到 Windows 11
V2EX
›
Windows
wsl2 如果实现 Linux 访问 windows 下的 localhost 端口
CuriousBull
·
Sep 22, 2020
· 3014 views
This topic created in 2234 days ago, the information mentioned may be changed or developed.
不是设置 display,由于公司电脑配置问题,只能将数据库装到 windows 下的 D 盘,此时,我想在 wsl2 下直接访问数据库,有人知道怎么设置么?
目前已经尝试过和设置 DISPLAY 一样的方式,即找到 windows 的 IP,直接访问 IP 对应端口,实际连接不了
WSL2
Windows
display
访问
1 replies
•
2020-09-23 16:47:36 +08:00
calmzhu
Sep 23, 2020
1
这个可能是数据库侦听地址原因
打开 cmd 看下 netstat -an | findstr '数据库端口' 看下侦听的哪个地址。数据库设置里面可以改
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2919 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 31ms ·
UTC 10:49
·
PVG 18:49
·
LAX 02:49
·
JFK 05:49
♥ Do have faith in what you're doing.
❯