如何在本地iss服务器中托管的另一台计算机上访问asp.net项目? [英] How to access asp.net project in another machine hosted in my local iss server?

查看:80
本文介绍了如何在本地iss服务器中托管的另一台计算机上访问asp.net项目?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在本地IIS服务器上成功托管了一个asp.net项目.
当我通过键入
从机器上浏览时 http://localhost:81/Login.aspx
它可以正常运行.
所以现在我如何才能从其他PC上访问它.

I have successfully hosted an asp.net project on my local IIS server.
When i browse from my machine by typing
http://localhost:81/Login.aspx
it runs correctly.
so now how can i access it from other PC.

推荐答案

If your System  are conencted via Network , then you can use the Ip Address of your pc first   in the URL instead of the localhost and it will be accessible. http://localhost:81/Login.aspx is accessble in your pc and your ip address is 192.168.0.9 then use http://192.168.0.9/Login.aspx 

For get your pc ip write ipconfig in command prompt


如果您的PC是通过LAN连接的,则可以在URL中使用计算机名而不是localhost,它可以访问.
例如. http://mymachinename1:81/Login.aspx
If your PCs are conencted via LAN , then you can use the machinename in the URL instead of the localhost and it will be accessible.

E.g. http://mymachinename1:81/Login.aspx


这篇关于如何在本地iss服务器中托管的另一台计算机上访问asp.net项目?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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