[英]Parallels - Access Visual Studio 2012 Express Server in OSx Host
I have Parallels 8 with a Windows 7 virtual machine and Visual Studio 2012 installed within. 我安装了装有Windows 7虚拟机和Visual Studio 2012的Parallels 8。
I am attempting to access the IIS Express server built into Visual Studio 2012 from Firefox on OSx (or any other device on the local network iPad/iPhone etc...). 我试图从OSx上的Firefox(或本地网络iPad / iPhone等上的任何其他设备)访问Visual Studio 2012中内置的IIS Express服务器。
However it is not as simple as calling the VM from it's IP and just including the port. 但是,这并不像从IP调用VM(仅包括端口)那样简单。 10.211.55.3:4468.
10.211.55.3:4468。
I have attempted several different tactics from postings around the net, but with no avail. 我曾尝试过多种与网上发布不同的策略,但无济于事。 One posting included the use of Fiddler used as a port forwarder but this was very difficult to follow since the posting was several years dated.
一个帖子包括使用Fiddler用作端口转发器,但这很难遵循,因为该帖子已经过时了数年。
Any assistance is appreciated and thank you for your time in advance! 感谢您的协助,并感谢您的宝贵时间!
I develop using .Net in a Windows 7 instance within a parallels VM and connect directly to it when working on iOS Apps in XCode. 我在并行VM的Windows 7实例中使用.Net进行开发,并在XCode中使用iOS Apps时直接连接到它。
When I'm trying to make an IIS Express site visible to the external host (OSX) I follow Scott Hanselman's instructions here: http://www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx - particularly the applicationHosts.config settings, the netsh commands and the firewall rules. 当我试图使IIS Express站点对外部主机(OSX)可见时,请按照Scott Hanselman的指示在此处进行操作: http : //www.hanselman.com/blog/WorkingWithSSLAtDevelopmentTimeIsEasierWithIISExpress.aspx-特别是applicationHosts.config设置netsh命令和防火墙规则。
When I'm using OwinHost.exe I do port mapping from Parallels to my Windows port (like localhost:4001) by using the Parallels port mapping with a shared network setup. 当我使用OwinHost.exe时,我通过将Parallels端口映射与共享网络设置一起使用,将端口从Parallels映射到Windows端口(例如localhost:4001)。 You find this from the Parallels Menu: Parallels Desktop > Preferences > Network Tab.
您可以从Parallels菜单中找到它:Parallels Desktop> Preferences> Network选项卡。
Then I can map localhost:4001 in OSX to point to say, 10.211.55.10:4001 and debug iOS apps directly on a .NET MVC Api with breakpoints 然后,我可以将OSX中的localhost:4001映射为指向10.211.55.10:4001并使用断点直接在.NET MVC Api上调试iOS应用
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.