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

前端 未结 4 874
轮回少年
轮回少年 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:33

    Step 1: Run cmd.exe as local administrator

    Step 2: Run the command below to enable http on port 1234

    netsh http add urlacl url=http://+:1234/ user=Everyone listen=yes
    

    Hint: The name of the user "Everyone" can differ and depend on your OS’s installation language. In German for example the user is not called "Everyone", but "Jeder".

提交回复
热议问题