How to change https in VS 2019.
When i publish and run in IIS it is showing below error.
localhost refused to connect
Check your Internet connection
Check your network cables, modem and routers.
Allow Microsoft Edge to access the network in your firewall or antivirus settings.
If it's already listed as a program allowed to access the network, try removing it from the list, and adding it again.
If you use a proxy server:
Check your proxy settings. You might need to ask your organization if the proxy server is working. If you don't think you should be using a proxy server, go to Settings > System > Open your computer's proxy settings.