简体   繁体   English

Parallels-在OSx主机中访问Visual Studio 2012 Express Server

[英]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服务器。

  • The URL given by Visual Studio is usually localhost:4468/default.aspx. Visual Studio提供的URL通常是localhost:4468 / default.aspx。
  • The IP of the Win7 Virtual Machine is setup as 10.211.55.3 Win7虚拟机的IP设置为10.211.55.3
  • The IP of the OSx host is within the standard network range of 192.168.1.102 OSx主机的IP在标准网络范围192.168.1.102中

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.

相关问题 Visual Studio Express 2012-Windows Service VB.net-计时器上的访问URL - Visual Studio Express 2012 - Windows Service VB.net - Access URL on timer Visual Studio 2012中的SQL Server CE问题 - Sql Server ce issues in Visual Studio 2012 Qt 4.8.3 Windows 7 使用 Visual Studio Express 2012 编译 - Qt 4.8.3 Windows 7 Compile Using Visual Studio Express 2012 如何在Visual Studio 2012 Express中定位.Net 3.5? - How to target .Net 3.5 in Visual Studio 2012 Express? 无法安装Visual Studio 2012 Express进行Phone 8.0开发 - Can't install Visual Studio 2012 Express for Phone 8.0 developement Visual Studio 2017构建工具不在Windows Server 2012上安装 - Visual Studio 2017 build tools not installing on windows server 2012 如何在Visual Studio 2008和SQL Server 2012中创建.exe文件 - How to create .exe file in Visual Studio 2008 and SQL Server 2012 如何使用适用于Windows 8的Visual Studio Express 2012为Windows XP创建应用程序 - How to create an app for Windows XP using Visual Studio Express 2012 for Windows 8 AreTransportControlsEnabled在Visual Studio 2012上不起作用 - AreTransportControlsEnabled not working on visual studio 2012 视窗应用程式Visual Studio 2012 - Windowed Application Visual Studio 2012
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM