Page 1 of 1

Issues starting Apache server

PostPosted: 18. June 2011 20:53
by roger8989tt
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.

Re: Issues starting Apache server

PostPosted: 18. June 2011 21:14
by JonB
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.

:)

Re: Issues starting Apache server

PostPosted: 18. June 2011 23:07
by roger8989tt
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.

Re: Issues starting Apache server

PostPosted: 19. June 2011 00:41
by Altrea
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.

Re: Issues starting Apache server

PostPosted: 19. June 2011 01:10
by roger8989tt
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.

Re: Issues starting Apache server

PostPosted: 19. June 2011 01:32
by Altrea
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

Re: Issues starting Apache server

PostPosted: 19. June 2011 20:55
by roger8989tt
That's it! Changed the port number in that config file and it fired right up. Thanks for the help! :D