You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "D. Gilbert" <d....@ntlworld.com> on 2003/12/06 16:56:13 UTC
newbie help please, localhost not found
When I type http://localhost:8080 in Internet Explorer it says "The page
cannot be displayed".
I've looked through the archives but couldn't find anything.
The running.txt file that comes with Tomcat lists only 3 possibilites for
why it doesn't work.
I've tried changing the port number, I'm using Windows XP so the environment
issue doesn't apply
and I'm pretty sure that I'm not behind a proxy as I am using my own PC at
home.
I'm pretty sure the JDK is installed ok as I can run javac. I tried changing
JAVA_HOME and CATALINA_HOME to
incorrect values and that made things worse so I'm sure they are set
correctly.
I've tried 2 versions of Tomcat 4.0.1 and 4.1.29.
When I startup 4.0.1 I get the messages
"
Starting service Tomcat-Standalone
Apache Tomcat/4.0.1
Starting service Tomcat-Apache
Apache Tomcat/4.0.1
"
which are correct according to my book.
Can anyone say what the problem is, or any ways to debug it?
It should run on a standalone home PC shouldn't it? I don't need to be
connected to a LAN or anything do I?
I've been trying to solve this for 2 weeks now so I would really appreciate
any help please.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
AW: newbie help please, localhost not found
Posted by Jan Behrens <ja...@diekleinedomain.de>.
Hi Dave,
your firewall should normally try to restrict ALL connections to and
from your maschine. That even applies to connections that originate on
your maschine, to the system those are handled basicaly on the same
basis that an external request would be handled. I would suggest to tell
your firewall that it can safely allow all connections from localhost
and 127.0.0.1 and then switch your firewall back on. In Norton you
should be able to easily do this by adding those addresses to the
trusted zones defined within Norton.
HTH, Jan
> -----Ursprüngliche Nachricht-----
> Von: D. Gilbert [mailto:d.gilbert9@ntlworld.com]
> Gesendet: Montag, 8. Dezember 2003 09:26
> An: Tomcat Users List
> Betreff: Re: newbie help please, localhost not found
>
>
> Tomcat is now working for me. Thanks to everyone for the
> suggestions. It turned out to be the firewall as Doug
> suggested. When I turned off Norton Firewall it worked
> straight away. I don't understand why a firewall would affect
> it though, when its not trying to access the internet, but
> perhaps thats too far off topic. Thanks again, Dave
>
> ----- Original Message -----
> From: "Doug Parsons" <do...@earthlink.net>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Saturday, December 06, 2003 4:25 PM
> Subject: Re: newbie help please, localhost not found
>
>
> > You may want to go even more basic than that. Open a command prompt
> > and
> try
> > pinging localhost and then try 127.0.0.1 Unless you are
> running some
> > type of firewall you should get a response. If not, do you have a
> > personal firewall enabled?
> >
> > No you don't have to be connected to a lan, but the TCP/IP
> stack must
> > be running. The above test will help you determine that.
> >
> > If the ping fails you can contact me off list for more help.
> >
> > I know this veered off topic, but often it is the little
> things that
> > get
> ya.
> >
> >
> >
> > ----- Original Message -----
> > From: "Jan Behrens" <ja...@diekleinedomain.de>
> > To: "Tomcat Users List" <to...@jakarta.apache.org>
> > Sent: Saturday, December 06, 2003 11:00 AM
> > Subject: RE: newbie help please, localhost not found
> >
> >
> > > Hi there,
> > >
> > > have you tried http://127.0.0.1:8080 instead? That is the
> IP usually
> bound
> > > to localhost and it might be that localhost is not resolved
> > > correctly to same. If not, try to provide further info.
> For example,
> > > have you
> installed
> > > Tomcat in a path containing spaces such as c:\Program
> Files\Tomcat.
> > > If
> so,
> > > reinstall to a path without spaces.
> > >
> > > Cheers, Jan
> > >
> > > > -----Original Message-----
> > > > From: D. Gilbert [mailto:d.gilbert9@ntlworld.com]
> > > > Sent: Saturday, December 06, 2003 4:56 PM
> > > > To: Tomcat Users List
> > > > Subject: newbie help please, localhost not found
> > > >
> > > >
> > > > When I type http://localhost:8080 in Internet Explorer it says
> > > > "The
> page
> > > > cannot be displayed".
> > > > I've looked through the archives but couldn't find
> anything. The
> > > > running.txt file that comes with Tomcat lists only 3
> possibilites
> > for
> > > > why it doesn't work.
> > > > I've tried changing the port number, I'm using Windows
> XP so the
> > > > environment issue doesn't apply
> > > > and I'm pretty sure that I'm not behind a proxy as I am
> using my own
> PC
> > at
> > > > home.
> > > > I'm pretty sure the JDK is installed ok as I can run javac. I
> > > > tried changing
> > > > JAVA_HOME and CATALINA_HOME to
> > > > incorrect values and that made things worse so I'm sure
> they are set
> > > > correctly.
> > > > I've tried 2 versions of Tomcat 4.0.1 and 4.1.29.
> > > > When I startup 4.0.1 I get the messages
> > > > "
> > > > Starting service Tomcat-Standalone
> > > > Apache Tomcat/4.0.1
> > > > Starting service Tomcat-Apache
> > > > Apache Tomcat/4.0.1
> > > > "
> > > > which are correct according to my book.
> > > > Can anyone say what the problem is, or any ways to debug it?
> > > >
> > > > It should run on a standalone home PC shouldn't it? I
> don't need to be
> > > > connected to a LAN or anything do I?
> > > >
> > > > I've been trying to solve this for 2 weeks now so I would really
> > > > appreciate
> > > > any help please.
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> tomcat-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> > > >
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
> tomcat-user-help@jakarta.apache.org
> > >
> > >
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: newbie help please, localhost not found
Posted by "D. Gilbert" <d....@ntlworld.com>.
Tomcat is now working for me. Thanks to everyone for the suggestions.
It turned out to be the firewall as Doug suggested. When I turned off Norton
Firewall
it worked straight away. I don't understand why a firewall would affect it
though, when its not
trying to access the internet, but perhaps thats too far off topic.
Thanks again,
Dave
----- Original Message -----
From: "Doug Parsons" <do...@earthlink.net>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Saturday, December 06, 2003 4:25 PM
Subject: Re: newbie help please, localhost not found
> You may want to go even more basic than that. Open a command prompt and
try
> pinging localhost and then try 127.0.0.1 Unless you are running some type
> of firewall you should get a response. If not, do you have a personal
> firewall enabled?
>
> No you don't have to be connected to a lan, but the TCP/IP stack must be
> running. The above test will help you determine that.
>
> If the ping fails you can contact me off list for more help.
>
> I know this veered off topic, but often it is the little things that get
ya.
>
>
>
> ----- Original Message -----
> From: "Jan Behrens" <ja...@diekleinedomain.de>
> To: "Tomcat Users List" <to...@jakarta.apache.org>
> Sent: Saturday, December 06, 2003 11:00 AM
> Subject: RE: newbie help please, localhost not found
>
>
> > Hi there,
> >
> > have you tried http://127.0.0.1:8080 instead? That is the IP usually
bound
> > to localhost and it might be that localhost is not resolved correctly to
> > same. If not, try to provide further info. For example, have you
installed
> > Tomcat in a path containing spaces such as c:\Program Files\Tomcat. If
so,
> > reinstall to a path without spaces.
> >
> > Cheers, Jan
> >
> > > -----Original Message-----
> > > From: D. Gilbert [mailto:d.gilbert9@ntlworld.com]
> > > Sent: Saturday, December 06, 2003 4:56 PM
> > > To: Tomcat Users List
> > > Subject: newbie help please, localhost not found
> > >
> > >
> > > When I type http://localhost:8080 in Internet Explorer it says "The
page
> > > cannot be displayed".
> > > I've looked through the archives but couldn't find anything.
> > > The running.txt file that comes with Tomcat lists only 3 possibilites
> for
> > > why it doesn't work.
> > > I've tried changing the port number, I'm using Windows XP so the
> > > environment
> > > issue doesn't apply
> > > and I'm pretty sure that I'm not behind a proxy as I am using my own
PC
> at
> > > home.
> > > I'm pretty sure the JDK is installed ok as I can run javac. I
> > > tried changing
> > > JAVA_HOME and CATALINA_HOME to
> > > incorrect values and that made things worse so I'm sure they are set
> > > correctly.
> > > I've tried 2 versions of Tomcat 4.0.1 and 4.1.29.
> > > When I startup 4.0.1 I get the messages
> > > "
> > > Starting service Tomcat-Standalone
> > > Apache Tomcat/4.0.1
> > > Starting service Tomcat-Apache
> > > Apache Tomcat/4.0.1
> > > "
> > > which are correct according to my book.
> > > Can anyone say what the problem is, or any ways to debug it?
> > >
> > > It should run on a standalone home PC shouldn't it? I don't need to be
> > > connected to a LAN or anything do I?
> > >
> > > I've been trying to solve this for 2 weeks now so I would really
> > > appreciate
> > > any help please.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: newbie help please, localhost not found
Posted by Doug Parsons <do...@earthlink.net>.
You may want to go even more basic than that. Open a command prompt and try
pinging localhost and then try 127.0.0.1 Unless you are running some type
of firewall you should get a response. If not, do you have a personal
firewall enabled?
No you don't have to be connected to a lan, but the TCP/IP stack must be
running. The above test will help you determine that.
If the ping fails you can contact me off list for more help.
I know this veered off topic, but often it is the little things that get ya.
----- Original Message -----
From: "Jan Behrens" <ja...@diekleinedomain.de>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Saturday, December 06, 2003 11:00 AM
Subject: RE: newbie help please, localhost not found
> Hi there,
>
> have you tried http://127.0.0.1:8080 instead? That is the IP usually bound
> to localhost and it might be that localhost is not resolved correctly to
> same. If not, try to provide further info. For example, have you installed
> Tomcat in a path containing spaces such as c:\Program Files\Tomcat. If so,
> reinstall to a path without spaces.
>
> Cheers, Jan
>
> > -----Original Message-----
> > From: D. Gilbert [mailto:d.gilbert9@ntlworld.com]
> > Sent: Saturday, December 06, 2003 4:56 PM
> > To: Tomcat Users List
> > Subject: newbie help please, localhost not found
> >
> >
> > When I type http://localhost:8080 in Internet Explorer it says "The page
> > cannot be displayed".
> > I've looked through the archives but couldn't find anything.
> > The running.txt file that comes with Tomcat lists only 3 possibilites
for
> > why it doesn't work.
> > I've tried changing the port number, I'm using Windows XP so the
> > environment
> > issue doesn't apply
> > and I'm pretty sure that I'm not behind a proxy as I am using my own PC
at
> > home.
> > I'm pretty sure the JDK is installed ok as I can run javac. I
> > tried changing
> > JAVA_HOME and CATALINA_HOME to
> > incorrect values and that made things worse so I'm sure they are set
> > correctly.
> > I've tried 2 versions of Tomcat 4.0.1 and 4.1.29.
> > When I startup 4.0.1 I get the messages
> > "
> > Starting service Tomcat-Standalone
> > Apache Tomcat/4.0.1
> > Starting service Tomcat-Apache
> > Apache Tomcat/4.0.1
> > "
> > which are correct according to my book.
> > Can anyone say what the problem is, or any ways to debug it?
> >
> > It should run on a standalone home PC shouldn't it? I don't need to be
> > connected to a LAN or anything do I?
> >
> > I've been trying to solve this for 2 weeks now so I would really
> > appreciate
> > any help please.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
AW: newbie help please, localhost not found
Posted by SH Solutions <in...@sh-solutions.de>.
Hi
> have you installed Tomcat in a path containing spaces such as c:\Program
Files\Tomcat. If so, reinstall to a path without spaces.
I'm not sure for older versions, but at least Tomcat 5.0.16 installs to a
path with a lot of spaces by default so this shouldn't be an issue. (As it
isn't on my mashine.)
> I'm not behind a proxy as I am using my own PC at home.
Anyway, check you Internet Explorer Options for proxy settings. Depending
upon you internet access there could be a setup for your providers proxy -
which in turn will surely not be aware of your tomcat.
Cu
Steffen
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: newbie help please, localhost not found
Posted by Jan Behrens <ja...@diekleinedomain.de>.
Hi there,
have you tried http://127.0.0.1:8080 instead? That is the IP usually bound
to localhost and it might be that localhost is not resolved correctly to
same. If not, try to provide further info. For example, have you installed
Tomcat in a path containing spaces such as c:\Program Files\Tomcat. If so,
reinstall to a path without spaces.
Cheers, Jan
> -----Original Message-----
> From: D. Gilbert [mailto:d.gilbert9@ntlworld.com]
> Sent: Saturday, December 06, 2003 4:56 PM
> To: Tomcat Users List
> Subject: newbie help please, localhost not found
>
>
> When I type http://localhost:8080 in Internet Explorer it says "The page
> cannot be displayed".
> I've looked through the archives but couldn't find anything.
> The running.txt file that comes with Tomcat lists only 3 possibilites for
> why it doesn't work.
> I've tried changing the port number, I'm using Windows XP so the
> environment
> issue doesn't apply
> and I'm pretty sure that I'm not behind a proxy as I am using my own PC at
> home.
> I'm pretty sure the JDK is installed ok as I can run javac. I
> tried changing
> JAVA_HOME and CATALINA_HOME to
> incorrect values and that made things worse so I'm sure they are set
> correctly.
> I've tried 2 versions of Tomcat 4.0.1 and 4.1.29.
> When I startup 4.0.1 I get the messages
> "
> Starting service Tomcat-Standalone
> Apache Tomcat/4.0.1
> Starting service Tomcat-Apache
> Apache Tomcat/4.0.1
> "
> which are correct according to my book.
> Can anyone say what the problem is, or any ways to debug it?
>
> It should run on a standalone home PC shouldn't it? I don't need to be
> connected to a LAN or anything do I?
>
> I've been trying to solve this for 2 weeks now so I would really
> appreciate
> any help please.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org