回 帖 发 新 帖 刷新版面

主题:[求助]为什么用localhost:8278可以打开,而本机IP不行呢?

我用C#做了一个Website,在浏览器中输入http://localhost:8278/WebSite1/可以打开网页,而用http://132.1.203.126:8278/WebSite1/或者http://132.1.203.126/WebSite1/都不可以
我系统是WinXP IIS 5.0


[size=2][color=000080]地址栏输入http://132.1.203.126:8278/WebSite1时的提示错误:[/color][/size]

此程序无法显示网页 
   
   最可能的原因是:
未连接到 Internet。 
该网站遇到了问题。 
在地址中可能存在键入错误。 
 
   您可以尝试以下操作: 
     检查您的 Internet 连接。尝试访问其他网站以确保已连接到 Internet。  
 
     重新键入地址。  
 
     返回到上一页。 
 
     更多信息 

此问题可能是由下列各种问题导致的: 

Internet 连接已丢失。 
该网站暂时不可用。 
无法连接到域名服务器(DNS)。 
域名服务器(DNS)没有该网站的域的列表。 

 


[color=800080][size=2]地址栏输入http://132.1.203.126/WebSite1/的提示错误:[/size][/color]
Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.

回复列表 (共3个回复)

沙发

无法连接到域名服务器(DNS)。 
域名服务器(DNS)没有该网站的域的列表。

本级网关设置可能有什么地方没有对

板凳

谢谢,我的是vs2005。网络设置没有什么错误呢

vs2003同样的设置就可以访问

3 楼

localhost的地址不是默认127.0.0.1的吗?

我来回复

您尚未登录,请登录后再回复。点此登录或注册