GeeCON Prague 2014*
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: 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
Marshal

Joined: Mar 22, 2005
Posts: 42047
    
  64
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: 144
Hi Dimitter,

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

Thanks.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42047
    
  64
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.
 
GeeCON Prague 2014
 
subject: Access my Webapp from a different system