IISExpress cannot find ssl page running localhost with Visual Studio 2013

前端 未结 11 798
旧巷少年郎
旧巷少年郎 2020-12-23 20:17

When I access the site as http://localhost:26049, the site runs fine. If I try to access the site with https://localhost:44319, I get page not found.

This is my proj

11条回答
  •  无人及你
    2020-12-23 20:48

    I had the same problem. My HTTP site was running fine, but IIS Express just wouldn't start my SSL site. While it did the day before.

    My problem was that I had somehow messed up the aplicationhost.config file. My project was registered twice:

    
        
            
        
        
            
        
    
    
        
            
        
        
            
            
        
    
    

    Removing both entries and creating a new virtual directory from the project properties page fixed the problem for me.

    Creating a new virtual directory from the properties page

提交回复
热议问题