我的系统上开发了一个 ASP.Net MVC应用程序。我想通过使用以下命令将我的应用程序与公共 IP 绑定,从远程计算机访问我的站点,
netsh http add urlacl url=http://192.168.1.42:3000/ user=everyone
在Visual Studio中,我已经更新了applicationhost.config文件
<binding protocol="http" bindingInformation="*:3000:192.168.1.42" />
但它仍然不起作用
说"服务不可用
"HTTP 错误 503。该服务不可用。
在 applicationhost.config 文件中,本地主机必须更改为您的计算机名称。