I can't GET any of the pages hosted on my development machine externally, even after opening an exception at the Windows firewall.
即使在Windows防火墙上打开异常,我也无法从外部获取我的开发机器上托管的任何页面。
2 个解决方案
#1
6
The Visual studio web server (aka Casini) won't accept remote connections - you need to use IIS.
Visual Studio Web服务器(也称为Casini)不接受远程连接 - 您需要使用IIS。
Of course, I guess you could do something like run a program that proxies remote requests to it, but that's way more painful than just installing IIS on your dev machine and using that.
当然,我想你可以做一些事情,比如运行代理远程请求的程序,但这比在你的dev机器上安装IIS并使用它更痛苦。
#2
0
If you're using the ASP.NET Debugging Server, it is not possible to access remotely. If you have Windows XP Professional or Vista with IIS, you can create a virtual directory that points to your publish folder.
如果您使用的是ASP.NET调试服务器,则无法远程访问。如果您使用带有IIS的Windows XP Professional或Vista,则可以创建指向发布文件夹的虚拟目录。
If you are using IIS and you're behind a router, make sure you're forwarding port 80 traffic to your machine.
如果您正在使用IIS并且您在路由器后面,请确保将端口80流量转发到您的计算机。
#1
6
The Visual studio web server (aka Casini) won't accept remote connections - you need to use IIS.
Visual Studio Web服务器(也称为Casini)不接受远程连接 - 您需要使用IIS。
Of course, I guess you could do something like run a program that proxies remote requests to it, but that's way more painful than just installing IIS on your dev machine and using that.
当然,我想你可以做一些事情,比如运行代理远程请求的程序,但这比在你的dev机器上安装IIS并使用它更痛苦。
#2
0
If you're using the ASP.NET Debugging Server, it is not possible to access remotely. If you have Windows XP Professional or Vista with IIS, you can create a virtual directory that points to your publish folder.
如果您使用的是ASP.NET调试服务器,则无法远程访问。如果您使用带有IIS的Windows XP Professional或Vista,则可以创建指向发布文件夹的虚拟目录。
If you are using IIS and you're behind a router, make sure you're forwarding port 80 traffic to your machine.
如果您正在使用IIS并且您在路由器后面,请确保将端口80流量转发到您的计算机。