Could not find a base address that matches scheme https for the endpoint with binding WebHttpBinding. Registered base address schemes are [http]

前端 未结 5 1034
礼貌的吻别
礼貌的吻别 2020-12-24 02:16

I\'ve been through several web site that suggest solution to this problem, but still I can\'t get rid of it.

My WebConfig:



        
5条回答
  •  离开以前
    2020-12-24 02:43

    Change

    
    

    to

    
    

    You're telling WCF to use https for the metadata endpoint and I see that your'e exposing your service on http, and then you get the error in the title.

    You also have to set if you want to use HTTP as your URL suggests.

提交回复
热议问题