You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tom Eklöf <to...@gmail.com> on 2009/09/15 16:06:46 UTC
Can't access Tomcat from outside the LAN
I managed to set up Tomcat 6.0.20 on my Ubuntu Jaunty box, but I can't
seem to access the server from outside my LAN. Port forwarding is
working OK (tested with port scanner and by starting SSH on the port),
and I can also access Tomcat from all computers on my LAN.
I've tried poking around the documentation, but nothing seems to
suggest that Tomcat would default to not accepting outside
connections. I hope I'm not making a fool out of myself here, but I
really could use some pointers (_not_ of the int* variety :P ) here.
--
Tom Eklöf
Recidite, plebes! Gero rem imperialem!
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Can't access Tomcat from outside the LAN
Posted by Mark Shifman <ma...@yale.edu>.
You may have to fool with your firewall (or talk to you lan administrator).
I have a line for starting iptables that looks like this:
-A INPUT -p tcp -m state --state NEW -m tcp --dport 8080 -j ACCEPT
I suspect Ubuntu has some classy utility for modifying the firewal to allow 8080 or what
ever port Tomcat is using to get in.
mas
Tom Eklöf wrote:
> I managed to set up Tomcat 6.0.20 on my Ubuntu Jaunty box, but I can't
> seem to access the server from outside my LAN. Port forwarding is
> working OK (tested with port scanner and by starting SSH on the port),
> and I can also access Tomcat from all computers on my LAN.
>
> I've tried poking around the documentation, but nothing seems to
> suggest that Tomcat would default to not accepting outside
> connections. I hope I'm not making a fool out of myself here, but I
> really could use some pointers (_not_ of the int* variety :P ) here.
>
--
Mark Shifman MD. Ph.D.
Yale Center for Medical Informatics
Phone (203)737-5219
mark.shifman@yale.edu
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org