File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes access tomcat outside of lan Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "access tomcat outside of lan" Watch "access tomcat outside of lan" New topic

access tomcat outside of lan

Alexandru Gifei
Ranch Hand

Joined: May 19, 2012
Posts: 42

I have installed tomcat 7 on a machine with a mobile internet connection. I have tried to acces my tomcat web page from my android phone and it fails. What should i do ?

Life is not measured by the number of breaths we take, but by the moments that take our breath away.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

I am not quite sure what you mean by "machine with mobile internet connection". I think you are referring to the use of one of those devices that you can plug into a laptop or desktop computer that will give it internet access using a radio link to a cellular phone service provider, but I could be wrong.

It's very hard to provide public access to computers over such a link. That is because the IP address of the machine is often not a public IP address, but instead a DHCP-assigned address from one of the internal address blocks, which, unlike public addresses are not unique.

Even when you do have a globally-unique IP address, however, the mobile internet service will often have a firewall set up to block that address from serving.

So you may have to select an alternative Internet Services Provider and hardware.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: access tomcat outside of lan
It's not a secret anymore!