Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access my Webapp from a different system

 
Rakesh Keerthi
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Dimitter,

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

Thanks.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should read up on what "localhost" mean, and use the eexternal IP address instead.
 
Rakesh Keerthi
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Dittmer. this worked.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic