2013-06-11 9 views
5

外部ユーザーがMVC ASP.NET開発Webサイトを表示できるようにIIS Expressを動作させようとしました。私はこのSO answerの指示に従っていましたが、私の外部IPアドレスを使ってウェブサイトにアクセスすると503エラーが発生します。IIS Expressで外部リクエストを有効にする - 503

私の設定ファイルが

<site name="ManagerUI" id="5"> 
    <application path="/" applicationPool="Clr4IntegratedAppPool"> 
     <virtualDirectory path="/" physicalPath="D:\Application Development\Manager\MAIN-Branch\ManagerUI\ManagerUI" /> 
    </application> 
    <bindings> 
     <binding protocol="http" bindingInformation="*:1904:" /> 
    </bindings> 
</site> 

が、私は問題を解決し、以下のSO answerを見つけましたが、それだけで、それが外部アドレスではなく、私のすべてのIPアドレス(localhostを、外部の1などで動作するようになりますOKらしいです)

<binding protocol="http" bindingInformation=":1904:your-machine-name" /> 

答えて

16

私は私のミスは、私はその後、セットアップは私が仕えることを望んだすべての外部アドレスのバインディングと、それは今、すべてが

を働き、あなただけつの結合セットを持つことができると考えていた、それを解決するために管理
<bindings> 
    <binding protocol="http" bindingInformation=":1904:" /> 
    <binding protocol="http" bindingInformation=":1904:machineName" /> 
    <binding protocol="http" bindingInformation=":1904:10.1.10.123" /> 
</bindings> 
関連する問題