apache settiing port

Problems with the Windows version of XAMPP, questions, comments, and anything related.

apache settiing port

Postby hjghjb76 » 22. July 2011 13:49

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
hjghjb76
 
Posts: 2
Joined: 22. July 2011 13:41

Re: apache settiing port

Postby JonB » 22. July 2011 13:58

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:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: apache settiing port

Postby hjghjb76 » 25. July 2011 07:42

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 ?
hjghjb76
 
Posts: 2
Joined: 22. July 2011 13:41

Re: apache settiing port

Postby Sharley » 25. July 2011 08:07

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
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 56 guests