I'm posting this in case others meet the same problem. Something was blocking Apache from starting up, and I got the message "could not connect to port 0.0.0.0:443"
By using the command netstat -nob I found out the conflicting program was Pando.exe, a program similar to bittorrent for downloading large files.
I went to Pando options and disabled the starting of Pando when the computer starts.
After that, Apache started normally.