Problem with port 80

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

Problem with port 80

Postby telmeca » 29. November 2012 20:23

Hi:

I have installed apache with XAMPP 1.7.4 and I installed Moodle 2.3.3 on a Windows 2003 server. For any reason that I don´t know, the server service was stopped by apache and I am trying to starting it, but I am getting the following error:

<OS 10048>Only one usage of each socket address <protocol/network address/port is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down
Unable to open logs

Using the command prompt I found that port 80 is listening some application called httpd.exe, which belongs to apache, so I am confused...

I triyed to unistall XAMPP by deleting the whole folder, but it was not possible because the process httpd.exe is running and it is not visible on the windows task manager. So in summary I am stuck, because I can not start or uninistall apache and the port 80 is being ocuppied by apache.

Can anyone help me?

Thank you.
telmeca
 
Posts: 5
Joined: 29. November 2012 19:44
XAMPP Version: 1.8.3-2
Operating System: Windows 2003

Re: Problem with port 80

Postby Nobbie » 01. December 2012 23:54

telmeca wrote:<OS 10048>Only one usage of each socket address <protocol/network address/port is normally permitted. : make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down
Unable to open logs

Using the command prompt I found that port 80 is listening some application called httpd.exe, which belongs to apache, so I am confused...


Why are you confused?

You are running a Windows Server 2003, what means, that you are running a Microsoft Webserver (called IIS = Internet Information Service) and that is quite a similar program to Apache, both do actually the same, they deliver web pages via Port 80. Apache is a free webserver product, Microsoft IIS is not free.

Why did you install a webserver software (Apache) onto your Server, which already runs a webserver software (IIS)?

That is your problem - Apache and IIS are struggling for Port 80 (and for Port 443 as well for secure protocoll). Only one program may occupy Port 80 - the program, which starts first will win, the program starting later will loose. Seems that Apache (= httpd.exe) starts first on your PC. Thats all - and thats what you wanted (why ever).

If you wanna delete Apache, you have to go to the windows services and stopp the Service Apache. After then you can delete Apache (which is part of Xampp).
Nobbie
 
Posts: 6786
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 71 guests