Pretty self-explanatory. Is there any way I can make Apache stop listening in port 443 (Https). So that it only listens on port 80 (http)?

I'm working on a Windows 7 PC.

Edit 1: I installed Apache with XAMPP. So i don't know how it came pre-configured.

Solution: There is a file in "\apache\conf\extra" called http-ssl.conf that had a command saying "Listen 443" (line 20). Just change it, delete it, or add a # before it to solve the issue.

  • How do you know it currently listens to 443? – Robert Jan 3 '12 at 22:10
  • I know it is currently listening on 443 because i can see it listed with cmd.exe "netstat -a -b" – Sosavpm Jan 3 '12 at 22:27

had the same problem.
I found

Listen 443 https

in the /etc/httpd/conf.d/ssl.conf directory.

The README file in that directory states:

This directory holds configuration files for the Apache HTTP Server; any files in this directory which have the ".conf" extension will be processed as httpd configuration files.


Unless there's a "listen 443" statement in the .conf someplace... it will not listen on port 443.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.