You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Miguel Angel Mulero Martinez <mi...@mad.tecsidel.es> on 2002/10/01 07:55:40 UTC

RE: (OT) Cannot see Localhost on Apache

So that can be. Add the 127.0.0.1 localhost.

Good luck!

-----Mensaje original-----
De: Geoffrey Khan [mailto:geoffreykhan@hotmail.com]
Enviado el: lunes, 30 de septiembre de 2002 16:58
Para: 'Tomcat Users List'
Asunto: RE: (OT) Cannot see Localhost on Apache

The HOSTS file (without .sam) lists an IP address of:

142.179.202.248             www.paramagnus.com

I checked this URL out and it appears to be the URL of a software
manufacturer (who specifically make SpeedNet - which I had installed on
my PC some time ago).

Why that is there I have no idea? And that is the only IP address in
that file. The HOSTS.sam file has the 127.0.0.1 localhost listed and
nothing else.


-----Original Message-----
From: Miguel Angel Mulero Martinez
[mailto:miguel-angel.mulero@mad.tecsidel.es]
Sent: 30 September 2002 15:44
To: Tomcat Users List
Subject: RE: (OT) Cannot see Localhost on Apache


The file is only hosts without .sam


-----Mensaje original-----
De: Geoffrey Khan [mailto:geoffreykhan@hotmail.com]
Enviado el: lunes, 30 de septiembre de 2002 16:25
Para: 'Tomcat Users List'
Asunto: RE: (OT) Cannot see Localhost on Apache

Raj,

I checked the HOSTS.sam file in the Windows directory and 127.0.0.1
Localhost is listed and nothing else.

I do not have any Proxy server settings set-up (and didn't previously
when Apache was working fine).

I have a LAN card installed on this PC - the computer name is JK and the
Workgroup is MSHOME. This is obviously where Apache got the
jk.mshome.net configuration from.


Geoff

-----Original Message-----
From: Raj Saini [mailto:rajsaini@emerging-trade.com]
Sent: 30 September 2002 14:59
To: Tomcat Users List
Subject: Re: (OT) Cannot see Localhost on Apache


There is nothing wrong with the the apache Installation. telnet to port
80 shows that apache is configured properly and working. Few things to
check are:-

Check the hosts file int he window directory. See if you have setup any
hosts in the host files.

Check proxy setting of your browser.

Do you have a LAN card installed on your PC? If yest what is the host
name you have set in your LAN settings?

There is a problem with network settings. Browser is not sending the
correct hostname to the server and therefore you dont see any thing.

THe telnet shows that it got the index.html and other image files.

Raj



Your browser proxy setting.
Geoffrey Khan wrote:
> Well, that is what I'll do - reinstall Apache.
>
> However, as I said previously, this whole situation arose due to
> Apache not showing the Localhost directory. It was working fine for
> over a year on this PC and I didn't change ANY of the settings or add
> any hardware prior to it's not working.
>
>
> -----Original Message-----
> From: Turner, John [mailto:JTurner@AAS.com]
> Sent: 30 September 2002 14:36
> To: 'Tomcat Users List'
> Subject: RE: (OT) Cannot see Localhost on Apache
>
>
>
> OK, we're going around in circles.  There are a couple of issues here.
>
> - if ServerName in httpd.conf is 127.0.0.1, then that is what you put
> in the URL
> - 127.0.0.1 = localhost, on every computer in the world, it's a
> standard
> - do you have a hosts file or some other DNS setting that is resolving

> jk.mshome.net to 127.0.0.1?
>
> Basically, things have to match.  If jk.mshome.net = 127.0.0.1, then
> jk.mshome.net should be your ServerName in httpd.conf.  My advice is
> to reinstall Apache, and don't answer _anything_ when asked for
> hostname, IP address, or anything else.  Let the installer figure that

> stuff out on its own.  You can't just type hostnames willy-nilly, they

> have to resolve correctly for services that are looking for them to
> work correctly.
>
> Since jk.mshome.net does not resolve publicly, either set up DNS on
> your LAN or a local hosts file on your PC to resolve the name.
> Otherwise, don't use it anywhere, in any configuration, because it
> won't work.
>
> Typing "ping localhost" should return an IP address of 127.0.0.1.
>
> Typing "ping jk.mshome.net" should return nothing.
>
> Apache should be set to defaults, across the board (localhost).
>
> John
>
>
>>-----Original Message-----
>>From: Geoffrey Khan [mailto:geoffreykhan@hotmail.com]
>>Sent: Monday, September 30, 2002 9:23 AM
>>To: 'Tomcat Users List'
>>Subject: RE: (OT) Cannot see Localhost on Apache
>>
>>
>>I've checked the config file and the Server Name is 127.0.0.1, so I
>>don't know why it says jk.mshome.net when I try to ping Localhost.
>>
>>I've attache my config file again.
>>
>>-----Original Message-----
>>From: Turner, John [mailto:JTurner@AAS.com]
>>Sent: 30 September 2002 14:15
>>To: 'Tomcat Users List'
>>Subject: RE: (OT) Cannot see Localhost on Apache
>>
>>
>>
>>OK, that's a problem.  I don't have your httpd.conf any more, but
>>there shouldn't be any hostnames in there whatsoever if all you are
>>doing is accessing localhost.  Instead of hostnames, it should say
>>"localhost".
>>
>>John
>>
>>
>>
>>>-----Original Message-----
>>>From: Geoffrey Khan [mailto:geoffreykhan@hotmail.com]
>>>Sent: Monday, September 30, 2002 9:07 AM
>>>To: 'Tomcat Users List'; geoffreykhan@hotmail.com
>>>Subject: RE: (OT) Cannot see Localhost on Apache
>>>
>>>
>>>Raj,
>>>
>>>I have pinged Localhost and 127.0.0.1 and have got responses.
>>>
>>>However, I did notice that when I started to ping Localhost
>>
>>it began
>>
>>>with the message:
>>>
>>>Pinging jk.mshome.net [127.0.0.1] with 32 bytes of data:
>>>
>>>jk.mshome.net is/was what I called my site when first installing
>>>Apache 1.3.26 - it asks you what you want to call the server, etc
>>>when you first install it. I have since changed it to
>>>shining-path.com in the Apache config file.
>>>
>>>Maybe this is a problem??
>>>
>>>I have checked the Apache error log and there are no errors
>>
>>reported.
>>
>>>
>>>Geoff
>>>
>>>-----Original Message-----
>>>From: Raj Saini [mailto:rajsaini@emerging-trade.com]
>>>Sent: 30 September 2002 13:54
>>>To: Tomcat Users List
>>>Subject: Re: (OT) Cannot see Localhost on Apache
>>>
>>>
>>>Try there two things on DOS prompt of your PC.
>>>
>>>ping localhost
>>>
>>>ping 127.0.0.1
>>>
>>>If you receive the ping response, it means you have your network
>>>installed properly. If you can not see the ping respone
>>
>>there must be
>>
>>>some thing wrong with your network settings.
>>>
>>>You can also have a look on the apache error logs. See if you apache
>>
>
>>>is accepting the browser request.
>>>
>>>Raj
>>>
>>>Geoffrey Khan wrote:
>>>
>>>>John,
>>>>
>>>>I have Zone Alarm installed on my PC and it worked fine
>>>
>>with Apache
>>
>>>>for a long time and I haven't changed any of the settings
>>>
>>>in this to
>>>
>>>>prevent Apache from working. I've tried shutting down Zone Alarm,
>>>>starting Apache and going to Localhost but still get a
>>>
>>blank, white
>>
>>>>screen.
>>>>
>>>>I haven't changed any network settings in any shape or form
>>>
>>>or added
>>>
>>>>any kind of hardware.
>>>>
>>>>I know Apache starts because I have a console window
>>>
>>running saying
>>
>>>>Apache 1.3.26 running whenever I start it up (and it shows
>>>
>>>up in the
>>>
>>>>Task Manager list when I do start it).
>>>>
>>>>Geoff
>>>>
>>>>
>>>>-----Original Message-----
>>>>From: Turner, John [mailto:JTurner@AAS.com]
>>>>Sent: 30 September 2002 13:26
>>>>To: 'Tomcat Users List'
>>>>Subject: RE: (OT) Cannot see Localhost on Apache
>>>>
>>>>
>>>>
>>>>Did you install a firewall?  Did you change your network
>>>
>>>settings in
>>>
>>>>any way, shape or form?  Add a cable modem, DSL router, or other
>>>>network hardware?  Do you have some sort of virus filter
>>>
>>running on
>>
>>>>port 80? Are you sure Apache even starts?  Apache works out
>>>
>>>of the box
>>>
>>>
>>>>in a default install...there could be any number of other
>>>
>>>reasons why
>>>
>>>>it doesn't serve pages, none of them related to the Apache config
>>>>file.
>>>>
>>>>John
>>>>
>>>>-----Original Message-----
>>>>From: Geoffrey Khan [mailto:geoffreykhan@hotmail.com]
>>>>Sent: Monday, September 30, 2002 7:05 AM
>>>>To: tomcat-user@jakarta.apache.org
>>>>Subject: (OT) Cannot see Localhost on Apache
>>>>
>>>>
>>>>Hello,
>>>>
>>>>Sorry for the off topic manner of this email but I am
>>>
>>>having trouble
>>>
>>>>with my Apache server and was wondering if anyone on this list can
>>>
>
>>>>help me?
>>>>
>>>>For about a year I had Apache 1.3.20 set-up on my Windows
>>>
>>>98SE machine
>>>
>>>
>>>>running PHP 4.1.1 (and Coldfusion) on it with no problems. I would
>>>
>
>>>>type http://localhost/ (or http://127.0.0.1/)  in my
>>>
>>browser and be
>>
>>>>able to see the directories with all my files in them and
>>>
>>edit them
>>
>>>>accordingly.
>>>>
>>>>However, last week I started up Apache and opened a browser
>>>
>>>and typed
>>>
>>>>Localhost but nothing happened! All I would get would be a
>>>
>>>white blank
>>>
>>>
>>>>screen and if I typed in the address of a specific file within the
>>>
>
>>>>directory I would get a "Pager cannot be displayed" error.
>>>>
>>>>I tested this in IE, Netscape and Mozilla (along with clearing the
>>>
>
>>>>cache in each browser) and all of them were the same.
>>>>
>>>>I decided to uninstall Apache 1.3.20 and upgrade to
>>>
>>1.3.26 figuring
>>
>>>>that if I started with a newer version of Apache the
>>>
>>>problem would be
>>>
>>>>eradicated and I  would have a more up-to-date version of
>>>
>>>the server.
>>>
>>>>This I have done, but still I cannot gain access to any
>>>
>>of my files
>>
>>>>and still it gives me a blank white screen if I type
>>>
>>>Localhost and a
>>>
>>>>"Page cannot be displayed" error message if I try and
>>>
>>navigate to a
>>
>>>>specific file within the directory.
>>>>
>>>>I have scanned the Apache web site, trawled through the
>>>
>>newsgroups,
>>
>>>>studied my config file indepth, but cannot see where the
>>>
>>>problem lies.
>>>
>>>>Could someone please take a look at my config file and try
>>>
>>>to see why
>>>
>>>>this is happening because as far as I can tell everything
>>>
>>>is fine and
>>>
>>>>I haven't changed anything since the last time it worked OK?
>>>>
>>>>Please disregard the fact that I haven't loaded the PHP
>>>
>>modules yet
>>
>>>>(and Coldfusion as well) as I will do this after I have
>>>
>>managed to
>>
>>>>sort out the Localhost problem.
>>>>
>>>>Your help would be very much appreciated.
>>>>
>>>>
>>>>Regards,
>>>>
>>>>
>>>>Geoff Khan B.Sc (Hons)
>>>>www.shining-path.com
>>>>
>>>>--
>>>>To unsubscribe, e-mail:
>>>><ma...@jakarta.apache.org>
>>>>For additional commands, e-mail:
>>>><ma...@jakarta.apache.org>
>>>>
>>>>--
>>>>To unsubscribe, e-mail:
>>>
>>><ma...@jakarta.apache.org>
>>>
>>>>For additional commands, e-mail:
>>>><ma...@jakarta.apache.org>
>>>>
>>>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>><ma...@jakarta.apache.org>
>>>For additional commands, e-mail:
>>><ma...@jakarta.apache.org>
>>>
>>>--
>>>To unsubscribe, e-mail:
>>
>><ma...@jakarta.apache.org>
>>For additional commands, e-mail:
>><ma...@jakarta.apache.org>
>>
>>--
>>To unsubscribe, e-mail:
>><ma...@jakarta.apache.org>
>>For additional commands, e-mail:
>><ma...@jakarta.apache.org>
>>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>



--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>