DiigIT | IT Community
No Profile Image
Welcome Guest
New User? Register | Login

port 80 problem during installation

By: | 18 Feb 2009 4:25 pm

I try to install xamp on my computer

When I use xamp 1.4 the installation is success but when I start using xamp console Apache is started but immediately stopped
I tried to use version 1.5, when reached install as service for apache I got the message port 80 is blocked and the installation as service seems to be fail

I try to start apache from console and it was stopped immediately
I use Windows XP SP1
I hope somebody can help me on this

 

Comments

Skipe or other application is using port 80

By: | 18 Feb 2009



Thanks for your answer
But how do I know which application use this port?
Or can I change httpd.conf so that apache use another number and which port can be used Is there any possibility to know which application use which port
 

By: | 18 Feb 2009

On Linux or another Unix system you could find this out pretty easily. However, I don`t know how to do it with Windows.

That said, port 80 is normally used for HTTP--a web server. Only one program can be bound to the port at a time and the program for ports 1 to 1023 must be running as the admin or root user in a properly-designed system. When you try to run Apache, it is basically saying: "I can`t do that, Dave, someone is already using the port." If it was really helpful, it would tell you what program was using it. Most likely you have turned on Microsoft`s IIS webserver at some point and it is still running. If you can see about turning it off, port 80 will be available for Apache.

You can run Apache on another port. One popular choice is 8080. However, this means that the URLs have to note this nonstandard port like this:
http://localhost:8080/directory/script.php

if you were using your local web browser to connect to your local webserver on port 8080 to find a file called script.php in the web space (DocumentRoot in Apache) in a directory called "directory".

 

By: | 18 Feb 2009

Thanks for your answer
But how do I know which application use this port?
Or can I change httpd.conf so that apache use another number and which port can be used
Is there any possibility to know which application use which port

By: | 18 Feb 2009

I used a simple method to get it working.

I started PHP, THEN started Skype. Skype obviously found port 80 was in
use (by PHP/Apache) and just found another port.

Simple...

 

By: | 18 Feb 2009

As originator of the problem I have solve it thanks to Mr. Kleene The problem actually IISADMIN service active, as IIS also use port 80 it was blocked. This service is used by SMTP that I don`t use so
what I do just deactivated it Thanks for everybody who gave the answer
 

By: | 18 Feb 2009


may be you already installed an application that listen on port 80 like IIS .

so either uninstall IIS or make the apache listen on port other than 80 on
httpd.conf file change this " Listen 80 to Listen 8080 " for example.
With Best Regards.

I try to install xamp on my computer
When I use xamp 1.4 the installation is success but when I start using
xamp console Apache is started but immediately stopped
I tried to use version 1.5, when reached install as service for apache
I got the message port 80 is blocked and the installation as service
seems to be fail
I try to start apache from console and it was stopped immediately
I use Windows XP SP1
I hope somebody can help me on this


 

By: | 18 Feb 2009


Also, Make sure that you don`t use a firewall that doesnot allow application from opening, or accessing computer port,

to make sure that port 80 is not in use, open the command prompt and type the following command

telnet (wait untill it`s work, and write the following command) open 127.0.0.1 80

if there is no application is using this port, you will be notified

like IIS . than 80 on httpd.conf file change this " Listen 80 to Listen 8080 " for example.


 

By: | 18 Feb 2009

Leave a comment

Enter the text in the image
img
Can't read?
Type the characters you see in the picture below.


Close Move