Connection Refused HTTPS 443 localhost
After MUCH assistance from ezra-s I added
Listen 443
to the httpd.conf file and HTTPS started working. YAY!!!
Related videos on Youtube
Phil
Updated on September 18, 2022Comments
-
Phil almost 2 years
I am running Windows Server 2012 R2 with Apache 2.4. I'm having trouble with enabling HTTPS for some reason. I've done this before and previously all that I did was
1.) Enable SSL inside Apache by un-commenting
LoadModule ssl_module modules/mod_ssl.so
from the httpd.conf.2.) Add the entry into my virtual hosts file.
3.) Restart Apache and browse to the site over https
For whatever reason, it's not working. When I browse over http all works as expected. However, over https it does not connect. So I performed the following tests.
C:> telnet dev.mydomain.com 80 - connects fine telnet
C:> telnet dev.mydomain.com 443 - Could not open connection to host on port 443. Connection failed.
So thinking it's a Firewall issue, I added a rule to allow port 443. I even tried turning off the Firewall completely. Neither worked. Still get the connection failed error.
Can someone please point me in the right direction here?
Thank you!