wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android 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: 136
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
Marshal

Joined: Mar 22, 2005
Posts: 41137
    
  45
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.


Ping & DNS - my free Android networking tools app
Rakesh Keerthi
Ranch Hand

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

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

Thanks.
Ulf Dittmer
Marshal

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

Joined: Jul 16, 2012
Posts: 136
Thanks Dittmer. this worked.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Access my Webapp from a different system
 
Similar Threads
The requested resource (/servletTestApp/) is not available
Upload succesful but cant reach from http
server: error ListenerStart
tomcat 4.1.18 - servlet.jar not loaded
sheduled tasks