简体   繁体   中英

Asp.net Application Accessible to other machines

我有application..it在本地主机上运行..我还需要一台机器来访问该应用程序..但是当在链接中键入我的IP地址而不是localhost ..它显示找不到服务器..您能告诉我吗?步骤我需要执行的操作才能访问其他计算机的应用程序。因此,截至目前,没有UAT服务器...

First off, make sure your firewall allows access through port 80. Then, check if your IIS allows access from outside IP's. I can help more if you provide this:

  1. Your OS (XP, Windows 7, etc)

  2. the local link to your app. Is there a port number needed to access the app?

LaterEdit: Ok, then you need to do this: 在此处输入图片说明

Now, your app will be served by IIS on port 80 (default). Check your firewall to allow traffic through this port.

If you IIS is set for another port, then use that one. Checking the port in IIS: 在此处输入图片说明

I'm going to assume that you are running the application from Visual studio which allows the localhost to run.

In order for your application to be available to other machines on the network, you have to ensure that IIS is installed on your development machine and then a website is set up for that application as well.

The application existing in IIS is what will make it accessible across your network.

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