Solved

Apache configuration on WinXP sp2

Posted on 2006-10-20
2
597 Views
Last Modified: 2012-06-21
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.
0
Comment
Question by:jtjli
2 Comments
 
LVL 9

Expert Comment

by:shinobun
ID: 17776679
>> OS10048

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?
0
 
LVL 1

Accepted Solution

by:
w4jcb earned 500 total points
ID: 17800936
I have run into this problem alot and it usually is IIS being ran by some other program.  You can look under control panel> administration>IIS.  I like the portable app solution xampp from http://portableapps.com/apps/development/xampp.  It is a website PHP MySQL PHPMyAdmin plus others.  You can even switch between php 4.0 and php 5.0 with just a batch file.  I use my USB drive to show my websites in locations that I can not get on the web or I am showing work to be ok'ed before going on the web.  

I hopes this helps. (first post)
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Running Guacamole on port 80 5 161
maven set up 2 128
CentOS 7 (Apache2) Cannot Install SSL Cert 1 51
RewriteRule in .htaccess file not working 8 55
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now