Change the default port number for Apache HTTP Server
We know that as default the Apache HTTP Server will ping to port number 80 .
What we have to do when a situation of changing this post number comes? Lets see some simple steps for this…
1. Assume that your new port number is 8087
2. cp /etc/httpd/ports.conf /etc/httpd/ports.conf_backupgedit /etc/httpd/ports.conf
3. Find this line- Listen 80
4. Replace with the following line – Listen 8087
5. Save the edited file
6. /etc/init.d/httpd restartApache HTTP server, Linux