IIS Error: localhost refused to connect ERR_CONNECTION_REFUSED

SDSSDS
 
on Jun 08, 2022 04:28 AM
3367 Views

How to change https in VS 2019.

When i publish and run in IIS it is showing below error.

localhost refused to connect

ERR_CONNECTION_REFUSED

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.

Download FREE API for Word, Excel and PDF in ASP.Net: Download
dharmendr
 
on Jun 08, 2022 04:29 AM

Hi SDSSDS,

Please share the error details.

SDSSDS
 
on Jun 08, 2022 07:52 PM
on Jun 08, 2022 08:06 PM

localhost refused to connect

 

ERR_CONNECTION_REFUSED

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
dharmendr
 
on Jun 09, 2022 12:24 AM

Hi SDSSDS,

You need to set the SSL Enabled to False in the Properties Window.

Click on your project in Solution Explorer and select Properties tab or press F4 to open the Properties.

Set the SSL Enabled to False.