Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 39471 invoked by uid 500); 20 Aug 2002 16:05:04 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 39459 invoked from network); 20 Aug 2002 16:05:04 -0000 Received: from smtp10.atl.mindspring.net (207.69.200.246) by daedalus.apache.org with SMTP; 20 Aug 2002 16:05:04 -0000 Received: from dialup-65.57.136.192.dial1.princeton1.level3.net ([65.57.136.192] helo=designforge.com) by smtp10.atl.mindspring.net with esmtp (Exim 3.33 #1) id 17hBV8-0001aT-00 for users@httpd.apache.org; Tue, 20 Aug 2002 12:05:03 -0400 Message-ID: <3D626711.E9EB3FB8@designforge.com> Date: Tue, 20 Aug 2002 11:58:09 -0400 From: James Hurst X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: users@httpd.apache.org Subject: Re: Error msg: "no listening sockets available, shutting down" References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thank you Pritpal for your several tips. Bringing up a browser and going to "http://localhost:80/" yields "The page cannot be displayed". So I assume that means there's no local webserver running? I did "netstat -an" at the DOS prompt, it lists several entries with various IP addresses: assuming the number that is appended after an IP address with a colon is a port#, it would appear nothing is using port 80. I then changed the Apache port to 8080 by putting "Listen 8080" into httpd.conf, and then pointed a browser window to "http://localhost:8080/" and now the browser yields: "Not Found". Q: Why does it not work at port 80? What's interfering with that? Q: How do I set up a test domain? I simply arbitrarily picked "testdomain", and put an entry into httpd.conf with "ServerName www.testdomain.com:80", and the docs are in the default location C:\Apache\htdocs. What else should one do to make "testdomain" a valid domain on the local box for Apache to use it? Thank you so very much for your help! James Hurst jhurst@designforge.com Pritpal Dhaliwal wrote: > do this > http://localhost:80/ > > if something (good, as in a webpage) comes up then you have something running > > so disable whatver is running on port 80, and then try to restart. > > you could also try > > netstat -an to see if there is something LISTENING on port 80. > > if that doesn't work, try to change the apache port to 8080. > > if that still doesn't work, download resin from www.caucho.com and try to run it. It runs on port 80 by default, and it will run as a service also, plus u can use jsp. But this is an overkill. > > Pritpal Dhaliwal > www.desiest.com > > -----Original Message----- > From: James Hurst [mailto:jhurst@designforge.com] > Sent: Friday, August 16, 2002 9:56 AM > To: Apache users group > Subject: Error msg: "no listening sockets available, shutting down" > > I downloaded the 2.0.40 Win32 binary and installed it on my Win2K box, > for testing. When I try to run it from a console window (DOS box), it > yields: > > "no listening sockets available, shutting down" > > Nothing in the error log. What can cause this?? > > When I installed Apache I used these settings: > > DomainName = testdomain.com > ServerName = www.testdomain.com > ServerPort = 80 > ServerRoot = C:/Apache > > The httpd.conf file has simply... > > ServerRoot "C:/Apache" > ServerName www.testdomain.com:80 > ServerAdmin admin@designforge.com > UseCanonicalName off > DocumentRoot "C:/Apache/htdocs" > ErrorLog logs/error.log > > Yes, I am a newbie. > During the installation and after, I'm logged onto Windows as a user > with administrator privileges. I did go into Windows "Services" > control panel, where I saw an entry for Apache2 that is set to start > automatically. I stopped the service, and tried to run "apache" again > from the console window. Same result. > I don't see that IIS or PWS are running. > > Any ideas? Your help is greatly appreciated, thanx. > > James Hurst, jhurst@designforge.com > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org