我在浏览器使用localhost可以访问本机网站,但是使用IP地址却不可以.
而且127.0.0.1和局域网的IP地址(192.168.1.10)出现的问题都不同1.访问127.0.0.1时(例如:http://127.0.0.1:81/……),会出现提示输入用户名和密码的对话框,当我点取消时就出现“错误:拒绝访问”。而且我“匿名访问”和“集成Windows身份验证”都已经启用.2.访问局域网的IP地址时(例如:http://192.168.1.10:81/……),直接就不能访问,出现"无法显示网页",我浏览器的"显示友好HTTP错误信息"没有勾选.操作系统:2003 SP2
IE 6.0
主要就是以上的表现方式,而且:
1.关掉防火墙等杀毒软件,问题没有解决
2.我因为基于安全原因,很多服务都被我关闭掉了(可能是这个原因),希望各位大大们能够提示一下什么服务是必须的.
3.当然,如果可以告诉我那些端口必须要开的就最好了,因为我平时都有使用IP安全策略(现在是关了的,都不行).如果能够解决问题的话帖子可以加分.

解决方案 »

  1.   

    权限的问题。Internet信息服务--》默认网站--》右键--》属性--》目录安全性--》编辑--》选中匿名访问 确定。重新iis服务
      

  2.   

    为什么?2.我因为基于安全原因,很多服务都被我关闭掉了(可能是这个原因),希望各位大大们能够提示一下什么服务是必须的. 
    具体哪些服务是必要的,我不大清楚。总之用WIN2003默认的就不会错了,我一直是这么用,基本没有什么问题。你关了某些服务就安全了吗?不见得!
    另外你的http://192.168.1.10:81,用80端口可以吗?
      

  3.   


    请仔细看我的问题描述,第一点的地方已经写明:"而且我“匿名访问”和“集成Windows身份验证”都已经启用. ","匿名访问"我是已经启用了的,但仍然出现提示输入用户名和密码的情况!
      

  4.   

    我真的不知道哪些是一定要的,我的WIN2003服务状态如下能够正常运行IIS:
    名称          状态
    .NET Runtime Optimization Service v2.0.50727_X86
    Alerter
    Application Experience Lookup Service 已启动
    Application Layer Gateway Service
    Application Management
    ASP.NET State Service  out-of-process requests will not be processed. If this service is disabled
    Automatic Updates 已启动
    Background Intelligent Transfer Service
    ClipBook
    COM+ Event System 已启动
    COM+ System Application
    Computer Browser 已启动
    Cryptographic Services 已启动
    DCOM Server Process Launcher 已启动
    DHCP Client 已启动
    Distributed File System
    Distributed Link Tracking Client 已启动
    Distributed Link Tracking Server
    Distributed Transaction Coordinator 已启动
    DNS Client 已启动
    Error Reporting Service
    Event Log 已启动
    File Replication
    GP_CLT_Service 已启动
    Help and Support 已启动
    HTTP SSL 已启动
    Human Interface Device Access
    IIS Admin Service 已启动
    IMAPI CD-Burning COM Service
    Indexing Service 已启动
    Intersite Messaging
    IPSEC Services 已启动
    Kerberos Key Distribution Center
    License Logging
    Logical Disk Manager 已启动
    Logical Disk Manager Administrative Service
    Macromedia Licensing Service
    Messenger
    Microsoft Search 已启动
    Microsoft Software Shadow Copy Provider
    MSSQLSERVER 已启动
    MSSQLServerADHelper
    Net Logon
    NetMeeting Remote Desktop Sharing
    Network Connections 已启动
    Network DDE
    Network DDE DSDM
    Network Location Awareness (NLA) 已启动
    Network Provisioning Service
    NT LM Security Support Provider 已启动
    Office Source Engine
    Performance Logs and Alerts
    Plug and Play 已启动
    Portable Media Serial Number Service  protected content might not be down loaded to the device.
    Print Spooler 已启动
    Protected Storage 已启动
    Remote Access Auto Connection Manager
    Remote Access Connection Manager 已启动
    Remote Desktop Help Session Manager
    Remote Procedure Call (RPC) 已启动
    Remote Procedure Call (RPC) Locator
    Remote Registry 已启动
    Removable Storage
    Resultant Set of Policy Provider
    Routing and Remote Access
    Secondary Logon 已启动
    Security Accounts Manager 已启动
    Server 已启动
    Shell Hardware Detection 已启动
    Smart Card
    Special Administration Console Helper
    SQLSERVERAGENT
    System Event Notification 已启动
    Task Scheduler 已启动
    TCP/IP NetBIOS Helper 已启动
    Telephony 已启动
    Telnet
    Terminal Services 已启动
    Terminal Services Session Directory
    Themes 已启动
    Uninterruptible Power Supply
    Virtual Disk Service
    Visual Studio 2005 Remote Debugger
    Volume Shadow Copy
    WebClient
    Windows Audio 已启动
    Windows Firewall/Internet Connection Sharing (ICS)
    Windows Image Acquisition (WIA)
    Windows Installer
    Windows Management Instrumentation 已启动
    Windows Management Instrumentation Driver Extensions
    Windows Time 自动
    Windows User Mode Driver Framework
    WinHTTP Web Proxy Auto-Discovery Service
    Wireless Configuration 已启动
    WMI Performance Adapter
    Workstation 已启动
    World Wide Web Publishing Service 已启动
    主动防御 已启动
      

  5.   

    你可以把服务导出为.csv文件,用Excel打开,看哪一项服务可能危及安全的,逐一关闭或开户,看如何。
    或百度一下,
      

  6.   

    取消“集成Windows身份验证”,这个只能本机支持,远程计算机需要域支持...
      

  7.   

    取消“集成Windows身份验证”,这个只能本机支持,远程计算机需要域支持... 
      

  8.   

    在程序文件夹 右键-》属性-》安全 在权限那个下面加上 everyone
      

  9.   

    如果是权限的问题,为什么我用localhost(http://localhost:81/……)可以访问呢?
    现在情况是使用IP的地址(http://192.168.1.10:81/……)不能访问
      

  10.   


    使用everyone比较危险
    不过我断网测试了,也没有解决问题.