This topic created in 1490 days ago, the information mentioned may be changed or developed.
我在 mac 中安装了一个 windows11 虚拟机,启动了一个 web 服务器;
正常情况下,虚拟机通过 ip+端口号可以访问到这个 web 服务;
但是现在, 我的这个 web 服务需要指定一个域名,通过修改本地 hosts 文件代理到 web 服务的方式来访问,这样在虚拟机中就无法访问到主机的 web 服务了,即使配置了相同的 hosts 把 ip 指向宿主机,依然无法访问,有没有大佬遇到过这种问题