we can do it by changing apache configuration file httpd.conf
open http.conf
Search for Listen - you can see something Listen 80 here 80 is the port number of apache, change it to 81
Search for ServerName - you can find a line - ServerName localhost:80
change it to 81
Save the file and restart apache.
open browser http://localhost:81/
now you will see your root directory index page in browser
yes, your apache port has changed to 81
Learn to Develop an iPhone or iPad App in 4 Weeks Learn the latest and greatest markup language in the market with Robin Nixon(HTML & HTML5) Now $29 Only(75% Off)
we can do it by changing
Fri, 09/03/2010 - 13:59 — shashiwe can do it by changing apache configuration file httpd.conf
open http.conf
Search for Listen
- you can see something Listen 80
here 80 is the port number of apache, change it to 81
Search for ServerName
- you can find a line - ServerName localhost:80
change it to 81
Save the file and restart apache.
open browser http://localhost:81/
now you will see your root directory index page in browser
yes, your apache port has changed to 81