IIS中的网页部署问题 [英] Web Page deploy problem in IIS

查看:118
本文介绍了IIS中的网页部署问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我建立一个网页并在IIS中部署,所以我得到了一个URL(http:// localhost:4894 / TestWebService_Hello /),我在我打开的本地机器上运行。但是如果我尝试在本地网络中打开相同的URL但是在另一台机器上则显示错误localhost:4894找不到



我该怎么办解决问题所以我可以看到本地网络中的同一页面,但另一台机器。



谢谢和问候

Indrajit Dasgupta

Hi All,
I build a web page and deploy in IIS so I got a URL(http://localhost:4894/TestWebService_Hello/) also which I run in my local machine it open. But if the same URL I tried to open in the local net work but in another machine then it shows error "localhost:4894" could not found

What should I do to fix the problem so I can see the same page in local net work but another machine.

Thanks & Regards
Indrajit Dasgupta

推荐答案

Localhost与当前机器相同。因此,当您在不同的计算机上时,localhost指向该计算机并且代码不在其上。您需要使用代码实际所在的机器名称或使用其IP地址。
Localhost is the same as saying "current machine". So, when you are on a different computer localhost points to that computer and the code is not on it. You need to use the name of the machine the code is actually on or use its IP address.


您好,



To访问你在本地网络上传的网站,你的IP地址应该在你的应用名称之前插入。



例如,http:// localhost:4894 / TestWebService_Hello

应该是

http://你的ip / TestWebService_Hello





要查找你的ip,打开命令提示符。



插入命令ipconfig,然后按回车。



见IPV4地址,这是你的IP地址。
Hi,

To access you iis uploaded website in local network, your ip address should be inserted before your app name.

For e.g, http://localhost:4894/TestWebService_Hello
should be
http://your ip/TestWebService_Hello


To find your ip, open command prompt.

insert command "ipconfig", and press enter.

See IPV4 Address, it is your ip address.


这篇关于IIS中的网页部署问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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