使用Parallels在IE中测试Web应用程序 [英] Using Parallels to test Web applications in IE

查看:258
本文介绍了使用Parallels在IE中测试Web应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Mac上的Pylons中开发Web应用程序.我的开发服务器将页面投放到 http://127.0.0.1:5000/.我有什么方法可以从Parallels访问此页面以进行IE测试,而无需在Windows中设置开发环境?

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?

推荐答案

仅本地计算机可以访问回送地址(127.0.0.1).在这种情况下,Parallels被视为另一台(虚拟)机器.虽然可以将Parallels配置为使用与主机操作系统相同的IP地址,但是它不能共享回送地址.

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.

要从Parallels访问Mac上提供的页面,可以将Pylons使用的IP(主机)更改为本地网络的IP(而不是环回地址).在 development.ini 中更改主机设置.

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.

这篇关于使用Parallels在IE中测试Web应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆