简体   繁体   English

并行9 - mac 10.9 - 在Mac上运行的Windows 8.1 rails服务器,如何从Internet Explorer运行localhost:3000?

[英]parallels 9 - mac 10.9 - windows 8.1 rails server running on mac, how to localhost:3000 from internet explorer?

Parallels 9 with windows 8.1 (and more), Mac 10.9.5 Parallels 9与Windows 8.1(及更多),Mac 10.9.5

rails 4.2 ruby 2.0.0, development app running on localhost:3000 rails 4.2 ruby​​ 2.0.0,在localhost:3000上运行的开发应用程序

I want to access app from internet explorer running on windows 8.1 in parallels. 我想从Windows 8.1上运行的Internet Explorer中访问应用程序。 I have read every post on the net and submitted a ticket to parallels: no luck. 我已经阅读了网上的每一篇文章并提交了一张相似的票:没有运气。

bridged network (default adapter), tried windows firewall inbound rules, opening port 3000 (parallels recommendation, no luck) 桥接网络(默认适配器),尝试了Windows防火墙入站规则,打开端口3000(并行推荐,没有运气)

ifconfig on mac 192.168.0.1, ipconfig on windows depending on network 在mac 192.168.0.1上的ifconfig,windows上的ipconfig取决于网络

anybody able to tell me how to do this? 有人能告诉我怎么做吗? Thanks! 谢谢!

  1. Disable windows firewall (no body know how to configure it :) 禁用Windows防火墙(没有机构知道如何配置它:)
  2. Run rails application with binding to 0.0.0.0 ( rails s -b 0.0.0.0 ) 运行rails应用程序并绑定到0.0.0.0( rails s -b 0.0.0.0
  3. Are you sure exactly that your IP is .1? 你确定你的IP是.1吗? Check it in Preferences/Network in IP Address label. 在IP地址标签的首选项/网络中查看它。
  4. Check that windows ping your host ( ping 192.168.0.1 ). 检查Windows是否ping您的主机( ping 192.168.0.1 )。

Try to open 192.168.0.1:3000 in IE. 尝试在IE中打开192.168.0.1:3000。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM