In order to do this,
- Search for file "httpd.conf" inside “CONF” folder under wherever “APACHE” folder is installed.
- Open "httpd.conf" using NOTEPAD
- Use "Find" to find "Listen 80".
- Change this port number to the port that you'll be using on your web server. For this example, we'll use "8888".
- Use "find" once again to look for "ServerName"
- Change “ServerName” from “PORT 80” to “8888”
- As we have changed the port number to 8888. “LOCALHOSTS” address will be http://localhost:8888 or http://127.0.0.1:8888
Please leave a Comment below!
Follow me on Twitter