I edit httpd.conf and add Listen 5900 .
But xampp control panel status displays port 80 when i restart apache. Why it refuses to change port? Which is the correct syntax to edit the httpd file?
I looked around the site and tried to follow the recommendations. I specified that Apache use port 80 after running /usr/sbin/httpd -V to find the httpd.conf location, changed the connector listening port, and restarted the server each time. However, when I try to access port http://www.powdernow.com:8080/avyproject/ I can only do so by specifying :8080.
12:19:15 PM [Apache] Problem detected!
12:19:15 PM [Apache] Port 80 in use by "Unable to open process" with PID 4!
12:19:15 PM [Apache] Apache WILL NOT start without the configured ports free!
12:19:15 PM [Apache] You need to uninstall/disable/reconfigure the blocking application
12:19:15 PM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
when restart apache via ssh recived this error
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 87 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf/extra/httpd-includes.conf: Could not open configuration file /etc/httpd/conf.d/pagespeed.conf: No such file or directory
I have access to a WHM/cPanel setup from a client and would like to add a VirtualHost listening on a different port. I'm not very familiar with WHM/cPanel, but I am familiar with changing Apache config files.