刚刚在 Windows 8 和来宾操作系统 Ubuntu 12.04 上安装了 Hyper-V。
来自 VirtualBox,我正在寻找在主机/Windows 上与来宾 Ubuntu 共享目录的最佳方法。
我读过这个:https : //stackoverflow.com/a/1386764/913295并且我熟悉 Samba。由于该问题与 Hyper-V 无关,因此我在这里提出了这个相关问题。
我正在 Windows 8 上编写 Python (Flask)。为了向外部公开网络应用程序,我过去设置了 host=0.0.0.0
由于我升级和/或安装了具有 Internet 访问权限的 Hyper-V,因此我无法使用以下方法连接到 Flask Web 应用程序
http://0.0.0.0:5000.
Run Code Online (Sandbox Code Playgroud)
我尝试关闭 Windows 防火墙无济于事。
这是错误:
This webpage is not available
The webpage at http://0.0.0.0:5000/ might be temporarily down or it may have moved permanently to a new web address.
Error 108 (net::ERR_ADDRESS_INVALID): Unknown error.
Run Code Online (Sandbox Code Playgroud)
我也觉得很奇怪,虽然应用程序在 0.0.0.0 上运行,但我可以通过 localhost/127.0.0.1 访问它。
如何打开/启用对 0.0.0.0 的访问?
>route print
===========================================================================
Interface List
40...c8 60 00 cb fc 55 ......Hyper-V Virtual Ethernet Adapter #2
18...94 db c9 8a c1 c5 ......Bluetooth Device …
Run Code Online (Sandbox Code Playgroud)