none
WebDev.WebServer.exe 所開啟的 web server是否可允許遠端連入? RRS feed

  • 問題

  • WebDev.WebServer.exe 所開啟的 web server是否可允許遠端連入?

     

    我在本機執行的WebDev.WebServer.exe可使正常執行aspx程式沒有問題. 但是試著由遠端電腦用IE連入, 則都毫無反應. 電腦上的 Norton或是系統的防火牆都有把TCP的8080 port打開, 但都不會動. 同樣若我將XP的IIS(8080) 或是用Tomcat (8080) 遠端都可以連入測試沒有問題.

    2007年4月25日 上午 01:46

解答

  • So,因為我都用 IIS Server.

    我記得 ASP.NET Development Server 好像本身就不允許遠端連入了。

     

    If you cannot or do not want to use IIS as your Web server, you can still test your ASP.NET pages by using the ASP.NET Development Server. The ASP.NET Development Server, which is included with Visual Web Developer, is a Web server that runs locally on Windows operating systems, including Windows XP Home Edition. It is specifically built to serve, or run, ASP.NET Web pages under the local host scenario (browsing from the same computer as the Web server). In other words, the ASP.NET Development Server will serve pages to browser requests on the local computer. It will not serve pages to another computer. Additionally, it will not serve files that are outside of the application scope. The ASP.NET Development Server provides an efficient way to test pages locally before you publish the pages to a production server running IIS.

     

    (Source: MSDN Library - Web Servers in Visual Web Developer)

    2007年4月25日 上午 02:57
    版主

所有回覆

  • WebDev.WebServer.exe 是什麼 ?

    2007年4月25日 上午 02:34
    版主
  • Web Project (File System) 會動態啟動的那個 web server
    2007年4月25日 上午 02:50
  • So,因為我都用 IIS Server.

    我記得 ASP.NET Development Server 好像本身就不允許遠端連入了。

     

    If you cannot or do not want to use IIS as your Web server, you can still test your ASP.NET pages by using the ASP.NET Development Server. The ASP.NET Development Server, which is included with Visual Web Developer, is a Web server that runs locally on Windows operating systems, including Windows XP Home Edition. It is specifically built to serve, or run, ASP.NET Web pages under the local host scenario (browsing from the same computer as the Web server). In other words, the ASP.NET Development Server will serve pages to browser requests on the local computer. It will not serve pages to another computer. Additionally, it will not serve files that are outside of the application scope. The ASP.NET Development Server provides an efficient way to test pages locally before you publish the pages to a production server running IIS.

     

    (Source: MSDN Library - Web Servers in Visual Web Developer)

    2007年4月25日 上午 02:57
    版主
  • 感謝! 這樣我就不用再浪費時間在這東西上面了...
    2007年4月25日 上午 03:08