Find the answer to your Linux question:
Results 1 to 4 of 4
I've a kinda strange problem with the apache server. I've two versions of apache server installed on the machine. One is the installation I've downloaded and installed and the other ...
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    17

    Localhost problem

    I've a kinda strange problem with the apache server.

    I've two versions of apache server installed on the machine.

    One is the installation I've downloaded and installed and the other is the one which came with a software distro.

    When I start the apache that I've installed I can see a webpage with either localhost or 127.0.0.1,but not 127.0.0.1:8080 or localhost:8080

    When I run the apache that came with the distro,exactly reverse happens.I can see 127.0.0.1:8080 or localhost:8080 but not 127.0.0.1

    What could the problem

    Andrew

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,114
    By default, apache listens to port 80. AFAIK, two
    installations can't both listen to the same port.

  3. #3
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    623
    What do the "Listen" and "Virtualhost" directives in the respective httpd.conf files say?

  4. #4
    Linux Enthusiast Mudgen's Avatar
    Join Date
    Feb 2007
    Location
    Virginia
    Posts
    623
    Ah. Your other post referencing "start_tomcat.sh" sheds some light on this. I take one of your Apache installs is straight Apache, which defaults to listening on TCP 80, and the other is Apache Tomcat, which defaults to 8080.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...