简体   繁体   English

在网络上的另一台机器上访问 IIS 上已部署的网站

[英]Accessing a deployed website on IIS on a different machine on the network

I just deployed a website on IIS.我刚刚在 IIS 上部署了一个网站。 After clicking on the browse button.点击浏览按钮后。 The following url opened up以下url开辟

http://localhost:8080/

On IIS Manager this is what it looks like在 IIS 管理器上,这就是它的样子

Sites
|
|_Kites
   |_aspnet_client
   |_bin
   |_...

My question is how do I access this website on a different computer now that it has been deployed on IIS I tried this url.我的问题是我如何在另一台计算机上访问这个网站,因为它已经部署在 IIS 我试过这个 url。

http://10.xxx.xx.51:8080/

However when I try this url I get the error site cannot be reached.但是,当我尝试此 url 时,我得到错误站点无法访问。 Any suggestions on why this might be happening?关于为什么会发生这种情况的任何建议?

This is what my bindings look like这就是我的绑定的样子

在此处输入图像描述

Have you set Edit binding option in IIS server?您是否在 IIS 服务器中设置了编辑绑定选项? if not then do this.如果没有,那就这样做。

You have to go to Edit binding option in IIS server and Add Site binding.您必须 go 在 IIS 服务器中编辑绑定选项并添加站点绑定。 their you have to choose your ip address and port as well.他们你必须选择你的 ip 地址和端口。

Now you have to go to Windows Administrative tools and go to Windows firewall and advanced options then this window opens Now you have to go to Windows Administrative tools and go to Windows firewall and advanced options then this window opens

在此处输入图像描述

Now go to Inbound Rules on the left corner then this window opens现在 go 到左上角的入站规则然后这个 window 打开

在此处输入图像描述

Now click on New rule now this window opens现在点击 New rule 现在这个 window 打开

在此处输入图像描述

Now choose port and click next then this window opens现在选择端口并单击下一步然后此 window 打开

在此处输入图像描述

Now specify the same port as you have set on edit binding in IIS and click next then现在指定与您在 IIS 中的编辑绑定中设置的端口相同的端口,然后单击下一步在此处输入图像描述

Now, no need to change and option on this page and next page also just click next and then现在,无需更改此页面和下一页上的选项,也只需单击下一步,然后在此处输入图像描述

Now enter the name of the rule and description and click finish...Its done.现在输入规则的名称和描述,然后单击完成...完成。 You can access it on different computer... Hope, this will help you.您可以在不同的计算机上访问它...希望这会对您有所帮助。 If you find it helpful please mark my answer....Thanks如果您觉得有帮助,请标记我的答案....谢谢

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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