我正在我的 Mac OS X 上的服务器 3000 上运行 Rails 应用程序,并尝试(但失败了)从 Windows XP IE7 VM 连接到它。
我已经尝试过以下方法:
使用Mac上通过ifconfig提供的ip地址的NAT。 在promiscuous模式下使用Bridged Adapter,并使用Mac上通过ifconfig提供的ip地址。 使用Mac上通过ifconfig提供的ip地址的Host Only模式。 在promiscuous模式下使用Bridged Adapter 并使用10.0.2.2:3000(在这里概述:http://ubuntuforums.org/showthread.php?t=682519)。
似乎没有一个可行的解决方案…
我已经尝试过以下方法:
使用Mac上通过ifconfig提供的ip地址的NAT。 在promiscuous模式下使用Bridged Adapter,并使用Mac上通过ifconfig提供的ip地址。 使用Mac上通过ifconfig提供的ip地址的Host Only模式。 在promiscuous模式下使用Bridged Adapter 并使用10.0.2.2:3000(在这里概述:http://ubuntuforums.org/showthread.php?t=682519)。
似乎没有一个可行的解决方案…