SamiFX 0 Report post Posted May 31, 2007 I need help to know how to change the port number of Apache server which is I think Port:80, note that I'm using XAMPP Control Panel.and thanks in advance Share this post Link to post Share on other sites
rvalkass 5 Report post Posted May 31, 2007 I don't know how to do it with XAMPP control panel, but I do know how to do it the old fashioned way If you are on windows, open C:\Program Files\Apache Software Foundation\Apache2.2\conf and look for a file called httpd.conf. In that file, find the following section (line 53): ## Listen: Allows you to bind Apache to specific IP addresses and/or# ports, instead of the default. See also the <VirtualHost># directive.## Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)##Listen 12.34.56.78:80Listen 80 Simply change the number after the word Listen to the port you want it to use. Save the file and restart Apache. Be aware though that you will have to reconfigure any firewalls and routers to forward requests to your new port. Also, some people may have problems accessing your website if it is not on port 80 or the alternative 8080. Share this post Link to post Share on other sites
Blessed 0 Report post Posted May 31, 2007 Greetings thanx fot the nice answer man,this helps me allot,i will tri this later it think :Dhave a nice day peeps blessings Share this post Link to post Share on other sites
Imtay22 0 Report post Posted May 31, 2007 A faster way to get to the httpd.conf file is if you are using Windows, go to Start-> All Programs-> Apache HTTP Server 2.2.x-> Configure Apache Server-> Edit the httpd.conf Configuration File.I believe that is faster. And thanks I always wondered how to do that. Share this post Link to post Share on other sites
truefusion 3 Report post Posted May 31, 2007 When you change the port number from 80 (the default) to 8080, in order to access your website, you would have to include the port number in the address, for instance: LOCALHOST:8080/ Share this post Link to post Share on other sites
iGuest 3 Report post Posted March 1, 2009 Thanks:D - how to change the default apache portApache Default PortThanks for the tips Ive been searchin for this for a long time... Share this post Link to post Share on other sites
k_nitin_r 8 Report post Posted May 6, 2009 I need help to know how to change the port number of Apache server which is I think Port:80, note that I'm using XAMPP Control Panel.and thanks in advance You have 2 files to change, one for the HTTP port 80 and another for the HTTPS port 443 so look for the configuration directive that starts with the keyword "Listen". The configuration files to look at are:* C:\xampp\apache\conf\httpd.conf (Look for "Listen 80")* C:\xampp\apache\conf\extra\httpd-ssl.conf (Look for "Listen 443")Regards,Nitin Share this post Link to post Share on other sites
iGuest 3 Report post Posted June 30, 2009 how to change the portApache Default PortI have tried all the ways, written above.But I found the same message.(Apache2 is used by(inetinfo.Exe)Please help-reply by rachi Share this post Link to post Share on other sites