Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 261
  • Last Modified:

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

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
ianmal2
Asked:
ianmal2
  • 2
  • 2
1 Solution
 
sleep_furiouslyCommented:
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
 
Robin HickmottSoftware DeveloperCommented:
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
 
ianmal2Author Commented:
Have tried using local IP address. Still didn't work.

LISTEN in the Apache config file is not active.

0
 
sleep_furiouslyCommented:
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
 
ianmal2Author Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now