changing apache port

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

changing apache port

Postby dexxa » 24. October 2008 15:16

hello. i can only type in english so bare with me.
i want to run iis and apache on the same machine(windows xp sp3)
i tried changing listen:8080 and servername:localhost:8080 in http.conf.

but when i start apache it still listens to port 80. please help.

the exact message when i star apache
Code: Select all
make_sock: could not bind to  address 0.0.0.0:443
no listening sockets avaiable, shutting down
unable to open logs
Last edited by dexxa on 24. October 2008 15:26, edited 1 time in total.
dexxa
 
Posts: 3
Joined: 24. October 2008 15:14

Postby glitzi85 » 24. October 2008 15:19

If you do not use vHosts you just have to change the Listen directive in this way:

Code: Select all
Listen 8080


everything else you don't have to change.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby dexxa » 24. October 2008 15:30

tried that. didnt work.
dexxa
 
Posts: 3
Joined: 24. October 2008 15:14

Postby Nobbie » 24. October 2008 15:33

>make_sock: could not bind to address 0.0.0.0:443

This error message does not(!) mean that port 80 is still in use (neither port 8080), but instead port 443!

"You are barking up the wrong tree...."

Port 443 is used for SSL connections.
Last edited by Nobbie on 24. October 2008 15:34, edited 1 time in total.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Postby glitzi85 » 24. October 2008 15:34

You have problems connecting to Port 443 (HTTPS), not Port 80.

First solution: Comment this Line out:

Code: Select all
Include conf/extra/httpd-ssl.conf


inside the httpd.conf if you do not need SSL Secured connections.

Second solution: Open this file (conf/extra/httpd-ssl.conf) and change Listen 443 to another Port.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Postby dexxa » 24. October 2008 15:42

thank you. that did it.
fastest community EVER :lol:
dexxa
 
Posts: 3
Joined: 24. October 2008 15:14


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 108 guests