关于IIS Express的远程访问再次

时间:2014-04-26 17:05:19

标签: asp.net iis iis-7.5 iis-express

我无法理解我的错在哪里。谁能帮我??我在Windows XP上安装了IIS Express 7.5,在binding文件中更改了config,需要进行httpcfg更改并运行IIS但无法远程访问我的网站。有config个文件更改和httpcfg query urlacl

    <sites>
            <site name="WebSite1" id="1" serverAutoStart="true">
                <application path="/">
                    <virtualDirectory path="/" physicalPath="E:\WHCSP_install_with_instructions\WHCSP" />
                </application>
                <bindings>
                    <binding protocol="http" bindingInformation=":8080:localhost" />
                    <binding protocol="http" bindingInformation=":8080:" />
                </bindings>
            </site>
            <siteDefaults>
                <logFile logFormat="W3C" directory="%IIS_USER_HOME%\Logs" />
                <traceFailedRequestsLogging directory="%IIS_USER_HOME%\TraceLogFiles" enabled="true" maxLogFileSizeKB="1024" />
            </siteDefaults>
            <applicationDefaults applicationPool="Clr4IntegratedAppPool" />
            <virtualDirectoryDefaults allowSubDirConfig="true" />
    </sites>

C:\Program Files\Support Tools>httpcfg query urlacl
    URL : http://*:2869/
    ACL : D:(A;;GX;;;LS)
------------------------------------------------------------------------------
    URL : http://+:80/Temporary_Listen_Addresses/
    ACL : D:(A;;GX;;;WD)
------------------------------------------------------------------------------
    URL : http://+:8732/Design_Time_Addresses/
    ACL : D:(A;;GX;;;IU)
------------------------------------------------------------------------------
    URL : http://127.0.0.1:47873/help/
    ACL : D:(A;;GX;;;WD)
------------------------------------------------------------------------------
    URL : http://localhost:8080/
    ACL : D:(A;;GX;;;WD)
------------------------------------------------------------------------------
    URL : http://192.168.0.101:8080/
    ACL : D:(A;;GX;;;WD)
------------------------------------------------------------------------------
    URL : http://*:8080/
    ACL : D:(A;;GX;;;WD)
------------------------------------------------------------------------------

1 个答案:

答案 0 :(得分:0)

而不是端口8080使用普通端口80.很可能您的防火墙没有为入站/出站连接打开端口8080。 如果您有权访问它,请查看防火墙配置,如果绑定它,请在8080端口进行更改。

顺便提一下,您是否为网络上的新网站配置了DNS,或者至少在您尝试访问该网站的计算机的主机文件中输入了该文件?

其他可能已经在防火墙中使用您的端口的其他东西,而不是IIS ......