This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Servlets and the fly likes Access my Webapp from a different system Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Access my Webapp from a different system" Watch "Access my Webapp from a different system" New topic
Author

Access my Webapp from a different system

Rakesh Keerthi
Ranch Hand

Joined: Jul 16, 2012
Posts: 144
Hi,

I have a webapp developed and deployed in tomcat. when i do it in my system it is working fine. if i send the link to others system it is not working. how do i make this link accessible on some other system. i want the tomcat to be on my system(it is installed here itself), like a remote server.

Thanks
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
What is "the link" that you're sending out? If it contains the external IP address of your machine, and the machine allows inbound connections on whichever port Tomcat runs, it should work.
Rakesh Keerthi
Ranch Hand

Joined: Jul 16, 2012
Posts: 144
Hi Dimitter,

The link i used and i'm forwarding is http://localhost:2549/.

Thanks.
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42954
    
  73
You should read up on what "localhost" mean, and use the eexternal IP address instead.
Rakesh Keerthi
Ranch Hand

Joined: Jul 16, 2012
Posts: 144
Thanks Dittmer. this worked.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Access my Webapp from a different system