Failed to Change port number
Posted: 25. November 2011 05:37
Sorry, can't understand German, so I post in English.
I installed XAMPP(shoulde be 1.7.3) onto Window 7, and I knew I have another program (Team Viewer) listening to 80 port. So I modified:
C:\xampp\apache\conf\httpd.conf
change:
to
change
to
and I still failed to start Apache service, and I noticed that the XAMPP control panel always prompted that: Apache started (port 80)
why is that? why it said '80' instead of '13000'?
And finally I shut down Team Viewer, then I can start Apache, and I can access http://localhost:13000 in browser
So my question is, there are two 'port number' that relate to Apache service? And the setting parameters in httpd.conf only care one of them?
Why I still have to shut down other programs that occupy 80 port to run Apache server?
Thanks!!!
I installed XAMPP(shoulde be 1.7.3) onto Window 7, and I knew I have another program (Team Viewer) listening to 80 port. So I modified:
C:\xampp\apache\conf\httpd.conf
change:
- Code: Select all
#Listen 0.0.0.0:80
#Listen [::]:80
Listen 80
to
- Code: Select all
#Listen 0.0.0.0:80
#Listen [::]:80
Listen 13000
change
- Code: Select all
ServerName localhost:80
to
- Code: Select all
ServerName localhost:13000
and I still failed to start Apache service, and I noticed that the XAMPP control panel always prompted that: Apache started (port 80)
why is that? why it said '80' instead of '13000'?
And finally I shut down Team Viewer, then I can start Apache, and I can access http://localhost:13000 in browser
So my question is, there are two 'port number' that relate to Apache service? And the setting parameters in httpd.conf only care one of them?
Why I still have to shut down other programs that occupy 80 port to run Apache server?
Thanks!!!