https with WCF error: “Could not find base address that matches scheme https”

前端 未结 7 1718
南旧
南旧 2020-12-23 19:42

I go to https://mywebsite/MyApp/Myservice.svc and get the following error:

(The link works if I use http:// )

\"The service \'/MyApp/MyService.svc\' cann

7条回答
  •  生来不讨喜
    2020-12-23 20:27

    I was using webHttpBinding and forgot to dicate the security mode of "Transport" on the binding configuration which caused the error:

      
        
          
        
      
    

    Adding this in configuration fixed the problem.

提交回复
热议问题