ERR_CONNECTION_REFUSED when we use https:// without www


Suppose, https://www.domain.com is my website URL When I have set redirection from

http://domain.com

or

http://www.domain.com

to

https://www.domain.com

it is working perfect but when i am opening website with https:// and without www then it is giving ERR_CONNECTION_REFUSED error.

Any response will be highly appriciable.


Answers:


This error (Error 102) means Azure is not listening on port 443 or there is a firewall which rejects your connection on the host.

So add Listen directive to your configuration:

Listen 443