You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Joel <jg...@cox.net> on 2009/03/26 18:32:31 UTC
Can only view pages on localhost
I am a new user of Tomcat. In my test system I have pc's networked via
a wireless router. The router assigns the IP address of 192.168.0.2 to the
machine that runs Tomcat. When I run Tomcat using http://localhost/... or
http://192.168.0.2/... everything works fine when I work on the local
machine. But when I attempt to view web pages from any other machine on the
network using http://192.168.0.2/... I get timed out.
How should I configure Tomcat so that it accepts requests from other
machines -- not just localhost?
Joel
RE: Can only view pages on localhost
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Ramesh Narayanan (ramesnar) [mailto:ramesnar@cisco.com]
> Subject: RE: Can only view pages on localhost
>
> U have to change the Tomcat startup script to say that accept
> connections from outside world.
Utter hogwash. By default, Tomcat listens on 0.0.0.0 - which means it accepts connections over any IP address configured for the system's TCP/IP stack.
Please don't propagate erroneous information.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Can only view pages on localhost
Posted by "Ramesh Narayanan (ramesnar)" <ra...@cisco.com>.
U have to change the Tomcat startup script to say that accept
connections from outside world. I am not sure of the exact setting but
the User docs should lend u some light regarding this.
--Ramesh
-----Original Message-----
From: Joel [mailto:jgorski@cox.net]
Sent: Thursday, March 26, 2009 10:33 AM
To: users@tomcat.apache.org
Subject: Can only view pages on localhost
I am a new user of Tomcat. In my test system I have pc's networked
via
a wireless router. The router assigns the IP address of 192.168.0.2 to
the
machine that runs Tomcat. When I run Tomcat using http://localhost/...
or
http://192.168.0.2/... everything works fine when I work on the local
machine. But when I attempt to view web pages from any other machine on
the
network using http://192.168.0.2/... I get timed out.
How should I configure Tomcat so that it accepts requests from other
machines -- not just localhost?
Joel
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Can only view pages on localhost
Posted by Alan Chaney <al...@compulsivecreative.com>.
Hi Joel
Joel wrote:
> I am a new user of Tomcat. In my test system I have pc's networked via
> a wireless router. The router assigns the IP address of 192.168.0.2 to the
> machine that runs Tomcat. When I run Tomcat using http://localhost/... or
> http://192.168.0.2/... everything works fine when I work on the local
> machine. But when I attempt to view web pages from any other machine on the
> network using http://192.168.0.2/... I get timed out.
>
> How should I configure Tomcat so that it accepts requests from other
> machines -- not just localhost?
>
You don't mention operating system, tomcat version, jdk version - all of
which would make it easier to help you.
However, one wild guess is that you have a firewall which is preventing
the other networked machine(s) from accessing the tomcat instance.
HTH
Alan Chaney
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org