WCF Service Host Configuration - Please try changing the HTTP port to 8732

前端 未结 4 934
轮回少年
轮回少年 2021-02-05 18:03

I had a complex WCF service based solution working on my PC but due to a problem installing Windows 8.1 I had to \'Refresh\' my PC. Now that I\'ve reinstalled Visual Studio 2012

4条回答
  •  离开以前
    2021-02-05 18:25

    Another option is to bypass port-specific access control lists and enable the wcfservicehost to run as Administrator.

    You can do this by finding the wcfsvchost.exe in your file system (e.g. C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\wcfsvchost.exe), right-clicking the file and selecting 'Compatibility' tab.

    In there, you can select 'Run this program as an administrator', if you are an administrator (and you should be if you are rocking stackoverflow ;-)).

    Restart Visual Studio, and you should be good to go.

提交回复
热议问题