Page 1 of 1

changing apache port

PostPosted: 24. October 2008 15:16
by dexxa
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

PostPosted: 24. October 2008 15:19
by glitzi85
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

PostPosted: 24. October 2008 15:30
by dexxa
tried that. didnt work.

PostPosted: 24. October 2008 15:33
by Nobbie
>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.

PostPosted: 24. October 2008 15:34
by glitzi85
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

PostPosted: 24. October 2008 15:42
by dexxa
thank you. that did it.
fastest community EVER :lol: