Solved

Apache configuration on WinXP sp2

Posted on 2006-10-20
2
599 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
tomcat LDAP authentication issue 3 191
file path 14 71
Problem to get function 52 112
Can't connect to WAMP server 5 71
In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

839 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