Page 1 of 1

apache settiing port

PostPosted: 22. July 2011 13:49
by hjghjb76
just installed latest xampp..

trying to chenge port.. i changed it in httpd.conf (just like in linux)

when i click "apache_start.bat" it starts apache on port 443 although i set the port 8080

Re: apache settiing port

PostPosted: 22. July 2011 13:58
by JonB
well, ACTUALLY, XAMPP starts Apache on TWO ports - one for http, and another for https (443)

so its probably OK, did you test connecting on 8080???

:shock:

Re: apache settiing port

PostPosted: 25. July 2011 07:42
by hjghjb76
Yes 443 !! :) I was looking all over the place for the right config file..
How do I disable port 443?

and also how do I listen on port 8080 from all domains not just localhost ?

Re: apache settiing port

PostPosted: 25. July 2011 08:07
by Sharley
hjghjb76 wrote:Yes 443 !! :) I was looking all over the place for the right config file..
How do I disable port 443?
This topic may help with one or two solutions to your issues:
viewtopic.php?f=16&t=47648


hjghjb76 wrote:...also how do I listen on port 8080 from all domains not just localhost ?
You would have Apache Listen on port 8080 for every ServerName you have configured in the httpd-vhosts.conf file if you use virtualhosts.
Code: Select all
<VirtualHost *:8080>


For server wide port 8080 use, make sure that in the httpd.conf file this line is set
Code: Select all
Listen 8080
You can even use
Code: Select all
Listen *:8080
to be sure that Apache will listen for normal request on port 8080 from any source.

Remember to save the file and restart Apache and also remember to add the port number at the end of every URI, like so:
http://www.mydomain.tld:8080