localhost可以访问,ip不能访问的问题?、

zhangqs_1981 2005-03-09 04:44:49
我输入 localhost可以访问我本机的站点,但是输入本机ip就弹出一个用户名和密码输入的对话框,
不知道在iis里需要怎么设置?
...全文
2818 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
liuzixing1981 2005-03-14
  • 打赏
  • 举报
回复
删除该站点,再重新设置一下~~并且允许匿名访问,然后可能可以,但是如果你再弄些其他的设置,网站可能又访问不了~~这样不行的话,你建立一个新帐号,设置和IIS默认的一样的权限,然后将匿名那里指定的默认帐号换成你刚刚建立的,相关的设置你可以网络上搜索些文章,有图文并茂的说明的~~如果可以了,那恭喜,如果在一天后又出现问题,那你可以删除了你修改过的站点,然后建立个站点,启用匿名(但是不要再修改匿名用户了),一般情况下以后不出现这样的问题了~~~

为什么说的这么麻烦?反反复复?因为你用的这个D版的2003太垃圾,换个版本,有银子就买正版的(我不大支持~~呵呵)
sddx 2005-03-13
  • 打赏
  • 举报
回复
10之89是防火墙问题
瓦力1981 2005-03-12
  • 打赏
  • 举报
回复
我遇到过类似的问题...你把防火墙的设备改一下..看是不是那个端口被限制了
纪俊 2005-03-11
  • 打赏
  • 举报
回复
如果是ip访问不了的话可以考虑下面:

如果使用代理的话:
http://blog.csdn.net/paulwang/archive/2004/09/05/95355.aspx

1.在[管理工具]--[Internet服务管理器]--[默认WEB站点]--属性--WEB站点,IP地址是否默认的<全部没分配>

2.打开Winnt\\system32\\drivers\\etc\\hosts开开,可以手动指定127.0.0.1为Localhost
纪俊 2005-03-11
  • 打赏
  • 举报
回复
楼上是正确的
安全域是不同的
vivianfdlpw 2005-03-10
  • 打赏
  • 举报
回复
locahost 和ip的区别是ip属于internet区域,localhost属于本地信任域
看IIS的帮助,IIS的安全验证顺序(特别是对于NTFS分区)
The following is an outline of the access control process:

1.The client requests a resource on the server.
2.The IP address of the client is checked against any IP address restrictions in IIS. If the IP address is denied access, then the request fails and a "403 Access Forbidden" message is returned to the user.
3.The server, if configured to require it, requests authentication information from the client. The browser either prompts the user for a user name and password, or offers this information automatically.
4.IIS checks if the user has a valid Windows user account. If the user does not, then the request fails, and a "401 Access is denied" message is returned to the user.
IIS checks if the user has Web permissions for the requested resource. If the user does not, then the request fails, and a "403 Access Forbidden" message is returned to the user.
5.Any security modules, such as Microsoft ASP.NET impersonation, are added.
IIS checks the NTFS permissions on static files, Active Server Pages (ASP), and Common Gateway Interface (CGI) files for the resource. If the user does not have NTFS permissions for the resource, then the request fails, and a "401 Access is denied" message is returned to the user.
6.If the user has NTFS permissions, the request is fulfilled.
lawyu 2005-03-09
  • 打赏
  • 举报
回复
不懂,关注一下
ChineseCokie 2005-03-09
  • 打赏
  • 举报
回复
晕死,2003的系统是用iis6.0,不懂呀!~

机器的配置不够2003跑得!~没测试过,关注一下.
zhangqs_1981 2005-03-09
  • 打赏
  • 举报
回复
不行呀,还是有让输入用户名和密码的对话框呀

我的系统是2003
myvicy 2005-03-09
  • 打赏
  • 举报
回复
设置为可以匿名访问,把window验证取掉。

8,329

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 IIS
社区管理员
  • IIS
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧