This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 146
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: 42958
    
  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: 146
Hi Dimitter,

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

Thanks.
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  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: 146
Thanks Dittmer. this worked.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Access my Webapp from a different system
 
It's not a secret anymore!