Issues starting Apache server

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

Issues starting Apache server

Postby roger8989tt » 18. June 2011 20:53

Hi, I've recently installed XAMPP on a laptop running 64 bit Windows 7. I was aware of the port 80 issues with windows 7, so went into the apache/conf/httpd.conf file and modified
the listen line to port 8080 and saved the file. However, when trying to start apache from the control panel application, apache is still trying to listen on port 80, and therefore not starting. Any help would be greatly appreciated, thanks.
roger8989tt
 
Posts: 4
Joined: 18. June 2011 20:47

Re: Issues starting Apache server

Postby JonB » 18. June 2011 21:14

Did you try starting Apache with apcahe_start.bat in the root of XAMPP?
If not, try it.
Then test Apache by going to http://localhost:8080

I' don't think that XAMPP's Control Panel cna handle dirrerent port numbers for services.

:)
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: Issues starting Apache server

Postby roger8989tt » 18. June 2011 23:07

I just tried this, but now get the following error:
an attempt was made to access a socket in a way forbidden by its access permissions. :make_sock could not bind to address 0.0.0.0:443

For what it's worth, that's not the port I have set in the conf file, it's 8084.
roger8989tt
 
Posts: 4
Joined: 18. June 2011 20:47

Re: Issues starting Apache server

Postby Altrea » 19. June 2011 00:41

The Apache in XAMPP needs two ports.
One for HTTP requests, one for HTTPS/SSL requests.

Are you sure you have changed both?
443 is the default port for SSL.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Issues starting Apache server

Postby roger8989tt » 19. June 2011 01:10

Listen 8084
ServerName localhost:8084

I'm not sure, I'm assuming not. These are the only lines I've changed in the conf file.
roger8989tt
 
Posts: 4
Joined: 18. June 2011 20:47

Re: Issues starting Apache server

Postby Altrea » 19. June 2011 01:32

Apache does have more than one configuration file.

The SSL Port configuration can be found in the file \xampp\apache\conf\extra\httpd-ssl.conf
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Issues starting Apache server

Postby roger8989tt » 19. June 2011 20:55

That's it! Changed the port number in that config file and it fired right up. Thanks for the help! :D
roger8989tt
 
Posts: 4
Joined: 18. June 2011 20:47


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 53 guests