Subject: Apache won't startxagosto wrote:same problem error code
(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
ANY HELP HERE?
//////////////////////////////////////////
This might help prior to xampp 1.7.3:
1. open /xampp/apache_start.bat.
replace with (the following copied from xampp1.7.3):
@ECHO OFF & SETLOCAL
PUSHD %~dp0
ECHO Now we start Apache
xampp_cli.exe start apache
POPD
PAUSE
2.open /xampp/apache_stop.bat.
replace with
@ECHO OFF & SETLOCAL
PUSHD %~dp0
ECHO Now we stop Apache
xampp_cli.exe stop apache
POPD
PAUSE
Let's look at the original apache_start.bat:
@echo off
echo Diese Eingabeforderung nicht waehrend des Running beenden
echo Bitte erst bei einem gewollten Shutdown schliessen
echo Please close this command only for Shutdown
echo Apache 2 is starting ...
apache\bin\httpd.exe
if errorlevel 255 goto finish
if errorlevel 1 goto error
goto finish
:error
echo.
echo Apache konnte nicht gestartet werden
echo Apache could not be started
pause
:finish
I guessed that the problem caused by calling
apache\bin\httpd.exe
instead of start the service.
xampp_cli.exe start apache
so when the xampp control manager started,
one apache instance has been running. And then Windows
started the Apache Service. The result is
only one usage of each socket address permitted.
Wish this could help!
...