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

前端 未结 7 1511
南旧
南旧 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:18

    I had this exact same problem. Except my solution was to add an "s" to the binding value.

    Old: binding="mexHttpBinding"

    New: binding="mexHttpsBinding"

    web.config snippet:

    
        
            
            
        
    

提交回复
热议问题