Solved

Cannot bring up Apache by entering //localhost or //127.0.0.1 (WinXP home)

Posted on 2006-07-06
5
255 Views
Last Modified: 2012-06-21
Apache Version 1.3 has been installed as part a MRTG Bundle version 2.1 on WinXP Home

All installation parts completed without errors

I have turned off the Windows firewall, Defender and anything else which might affect it (before installation)

All services installed by the bundle have started.  Apache.exe shows twice in the active processes list.

Cannot bring up Apache default page by entering //localhost or //127.0.0.1.  The web root appears to be configured properly and there is defalt index.cgi file.

Any ideas why Apache web server cannot be accessed?
0
Comment
Question by:ianmal2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 10

Expert Comment

by:sleep_furiously
ID: 17054016
Perhaps it is only listening on a particular interface.  Have you tried using the host's IP address instead of the loopback?  e.g. //10.20.4.100
0
 
LVL 13

Expert Comment

by:rhickmott
ID: 17054309
Has it been set to run on the default port?

Try a port scanner on your local IP or check the config fule to see what the LISTEN XX port is set to.
0
 
LVL 1

Author Comment

by:ianmal2
ID: 17054451
Have tried using local IP address. Still didn't work.

LISTEN in the Apache config file is not active.

0
 
LVL 10

Accepted Solution

by:
sleep_furiously earned 500 total points
ID: 17054600
If it is Apache 1.3, and has no Listen directives, then it must have a Port directive, and will bind to all interfaces by default.

You can try something like TCPView (free utility) to see what interfaces and ports a process has bound on Windows:
http://www.sysinternals.com/Utilities/TcpView.html

It might help to turn off name resolution in the utility, then you can see if it is bound to 0.0.0.0 (all interfaces), 127.0.0.1 (loop back only) or some specific IP address.

If you are connecting to the correct interface and port, then it is time to start looking in the Apache logs for any clues.

What exactly happens when you try to connect?  No response, and timeout?
0
 
LVL 1

Author Comment

by:ianmal2
ID: 17085165
Finally got it to work by entering the url //STUDY-COMP:9191

Nothing else would work. Thanks to 'sleep furiously' for the reference to TCPView.  It showed Apache bound to 0.0.0.0 and name STUDY-COMP

For this I award the points.

0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Zipping many files freeze my whole server through php 5 81
browser caching 4 90
how to use external config file with Spring MVC 4 183
Setting up a WAMP server... 7 73
Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

739 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