简体   繁体   中英

How to access asp.net page runs on local IIS server through internet

I have a published asp.net web page runs on local machine IIS server and it is working fine How do I access the same web running web site over the LAN and Internet

Additional : I have a static IP for the machine and IIS runs on port 8080

Local machine URL for site = localhost/frmHome.aspx Static IP for the machine = "203.165.24.225" which 80 and 8080 ports are enabled for Http requests

When you are hitting website from your machine then fine it will work with localhost. But when you will hit the same from some other machine over LAN then just replace localhost with your IP. If it is not working then try to ping your IP from that machine to check whether your machine is reachable to that machine over LAN or not.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM