The following is a detailed introduction of Apache configuration service http://. Or you can use servicehttpdrestart to restart.
We changed ServerAdmin to our own mailbox.
The port definition of Apache is located in the httpd.conf file in its directory.
Find the apache configuration file httpd.conf, modify the listening port, that is, Listen80, change 80 to the port number you want, and then restart apache.