port 80

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

port 80

Postby egg04 » 14. November 2007 05:53

Hi,

Q1: Port 80 is used by another application. How can I use other port for apache?

Q2: Why do I need to install xampp as a service? What svc and scm stands for?

thank you
egg04
 
Posts: 13
Joined: 27. September 2007 09:51

Postby Wiedmann » 14. November 2007 06:03

How can I use other port for apache?

http://httpd.apache.org/docs/2.2/mod/mp ... tml#listen

Why do I need to install xampp as a service?

There is no need to do this.

What svc and scm stands for?

svc = service
scm = service control manager
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby egg04 » 14. November 2007 08:16

http://httpd.apache.org/docs/2.2/mod/mpm_common.html#listen

Where can I find listen directive?
egg04
 
Posts: 13
Joined: 27. September 2007 09:51

Postby Wiedmann » 14. November 2007 08:18

Where can I find listen directive?

In the configuration file "httpd.conf".
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby egg04 » 14. November 2007 09:05

In the configuration file "httpd.conf".


After modifying C:\xampp\apache\conf\httpd.conf, apache is still listening to port 80.
egg04
 
Posts: 13
Joined: 27. September 2007 09:51

Postby Wiedmann » 14. November 2007 09:18

You must restart Apache after the modification.
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby egg04 » 14. November 2007 10:07

Do you mean restart the machine? How can I restart apache?

I have not even start it.
egg04
 
Posts: 13
Joined: 27. September 2007 09:51

Postby egg04 » 14. November 2007 10:45

When I try to start apache in xampp control, it fails becuse port 80 is busy
egg04
 
Posts: 13
Joined: 27. September 2007 09:51

Postby Scory » 14. November 2007 11:34

So you still did not change the corresponding value of httpd.conf.

How looks your configuration for Apache? Which application is already listening on port 80?

Greets
Scory
Scory
 

Postby egg04 » 15. November 2007 03:04

Where can I config Apache? A backup server is running on port 80.

screenshot from httpd.conf and control panel
egg04
 
Posts: 13
Joined: 27. September 2007 09:51

Postby Wiedmann » 15. November 2007 03:08

Where can I config Apache?

Wiedmann wrote:In the configuration file "httpd.conf".


it fails becuse port 80 is busy

Use "apache_start.bat" to see the real error message.

(BTW: Your image is a little bit to big...)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Izzy » 15. November 2007 03:27

Try changing the ServerName also, as it is pointing to localhost at port 80.
Look for this below where you changed the listening port to 8080:
Code: Select all
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName localhost:80

Change to:
Code: Select all
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
ServerName localhost:8080

Start Apache and call the XAMPP welcome page by typing this in your browser:
http://localhost:8080
The port number :8080 must be added after every address that is served by XAMPP Apache in future.

BTW it is often best practice to change the ports of the other apps using the ports that XAMPP needs exclusively - seems to be much less trouble than having to do what you are required to do in XAMPP.
xampp\xampp-portcheck.exe will give you a list of the ports XAMPP needs and what app if any is using those ports.

But for what it's worth once you have mastered how to do these types of httpd.conf edits then the rest often falls in to place.

TIP - The resolution of your image above is overly large 1280x1024 - perhaps 800x600 would have taken less time and resources for people like me who have to suffer lowly dial-up.


===========================================
1. The new DeskTopXampp Launch Control for XAMPP / XAMPPlite
Posted by Ridgewood available from Ridgewood'sDTX web site

2. Build Rich AJAX Applications - Faster
TIBCO General Interface Pro Edition but FREE and Open Source
Fully working with NO donations required to get a user/password
===========================================
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby egg04 » 15. November 2007 04:34

Use "apache_start.bat" to see the real error message.


here is the message: Image

Try changing the ServerName also, as it is pointing to localhost at port 80.
Look for this below where you changed the listening port to 8080:


still no success

Thank you
egg04
 
Posts: 13
Joined: 27. September 2007 09:51

Postby Izzy » 15. November 2007 04:48

Can you paste the results of running xampp\xampp-portcheck.exe please?

At the command prompt issue this command after closing the Control Panel:
sc delete apache2.2
Click OK
Then try start Apache again.


===========================================
1. The new DeskTopXampp Launch Control for XAMPP / XAMPPlite
Posted by Ridgewood available from Ridgewood'sDTX web site

2. Build Rich AJAX Applications - Faster
TIBCO General Interface Pro Edition but FREE and Open Source
Fully working with NO donations required to get a user/password
===========================================
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby egg04 » 15. November 2007 05:00

Can you paste the results of running xampp\xampp-portcheck.exe please?

Image

At the command prompt issue this command after closing the Control Panel:
sc delete apache2.2
Click OK
Then try start Apache again.


Sorry. I am not sure where to issue this command. Could you please give me more details? Thank you
egg04
 
Posts: 13
Joined: 27. September 2007 09:51

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 57 guests