Using Parallels to test Web applications in IE

限于喜欢 提交于 2019-12-07 10:36:26

问题


I am developing a Web application in Pylons on the Mac. My development server serves pages to http://127.0.0.1:5000/. Is there any way that I can access this page from Parallels for testing with IE without having to set up a development environment in Windows?


回答1:


The loopback address (127.0.0.1) is only accessible by your local machine. In this case Parallels is considered another (virtual) machine. While Parallels can be configured to use the same IP address as the host operating system, it cannot share the loopback address.

To access pages served on your Mac from Parallels you can change the IP (host) used by Pylons to that of your local network instead of the loopback address. In the development.ini change the host setting.




回答2:


Have you tried using your machine name instead of 127.0.0.1, e.g. http://MyIMac:5000/ ?




回答3:


For me the problem was that I forgot to exclude my mac's ip address from the windows browser's proxy settings (I was using a corporate proxy in the browser).



来源:https://stackoverflow.com/questions/1102799/using-parallels-to-test-web-applications-in-ie

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!