jtjli
asked on
Apache configuration on WinXP sp2
hello
I am having trouble in installing apache web server , i need to use it with mysql and PHP , firstly i wanna installed apache 2.0.59 .the problem s when i try to test it in my browser with the following url http://localhost/ which i have used as the SaveName in the httpd.conf file , its coming up with the error
<<OS10048>>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
after changing the port from 80 to 8080 in the httpd.conf file, the apache can be run, for loading the test page, it only works with http://127.0.0.1:8080, but not http://localhost:8080.
any suggestion for me?
thanks a lot.
I am having trouble in installing apache web server , i need to use it with mysql and PHP , firstly i wanna installed apache 2.0.59 .the problem s when i try to test it in my browser with the following url http://localhost/ which i have used as the SaveName in the httpd.conf file , its coming up with the error
<<OS10048>>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
after changing the port from 80 to 8080 in the httpd.conf file, the apache can be run, for loading the test page, it only works with http://127.0.0.1:8080, but not http://localhost:8080.
any suggestion for me?
thanks a lot.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It looks like another application is already listening at port 80. You can do a "netstat -a -b" in the command prompt to track down the culprit.
>> it only works with http://127.0.0.1:8080, but not http://localhost:8080.
Are you defining any VirtualHosts?