I added the following line to my httpd.conf: Listen *:8079. But when I navigate to my-local-ip-address:8079 in a browser, it says that the site can't be reached. I also have the line Listen *:80 in my httpd.conf, and when I navigate to my-local-ip-address:80 in a browser, it works. Why does it only work for port 80 and not for port 8079? Thanks!
Can't connect to my local Apache server on port 8079
281 views Asked by watersheep23 At
1
Adding just a new
Listenis not enough.You should check your
<virtualhost>directives in your apache config files and add the:portin them as necessary or you can copy a complete<virtualhost>directive with same values but in different port just adding the port like this:Check full information in this documentation: