简体   繁体   中英

HTTPS not starting in IIS when viewed from tray

I was working happily on my project. Then came a need to enable access to the server from remote machine (android) in LAN. I followed few answers on StackOverflow and they have completely ruined my project.

Earlier when I used to Debug using Visual Studio, I used to see two URLs, but I now I only see one. The debugging used to start in https://localhost:44373 but now https is just not starting and I get connection refused when I browse the https link. http link works fine.

在此处输入图像描述

I even tried to reset by following methods,

  • Deleted .vs\<project>\config\applicationConfig
  • Deleted IIS configuration rmdir /s /q "%userprofile%\Documents\IISExpress"

but none helped ie https is not starting even after using doing this as well

IisExpressAdminCmd.exe setupsslUrl -url:https://localhost:44373/ -UseSelfSigned

Please help. I am getting worried. My basic intent is to enable HTTPS and enable access to this https from remote machine.

If someone knows about good server where I can deploy website and easily do this, you may suggest as an alternative, but suggest a solution to current problem as well.

Close Visual Studio.

Following this link to Remove your IIS Development Certificate .

Now, Repair IIS from control panel.

Start Visual Studio. Things will start to work

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM