Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connecting to Tomcat from a different Computer

 
Maha Hassan
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I want to log to Tomcat from a different PC. How can I do that? For example, my computer name is "homePC" and the url on it is "http://localhost:8080/project" how can i open this URL from a different computer.

Thanks a lot

Maha
 
Balasubramanian Krishnaswamy
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://homepc:8080/project should work.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If they are both on the same windows network, that might work.
If not, find out the ip of your machine by opening a command prompt and typing :


and use
http://YOUR_IP:8080/project


To connect from the internet, you will need to find out the IP of your network, and configure your router to forward port 8080 from outside requests to your specific machine. (This, of course, assumes you're using a router and are not connected directly to the internet).
 
Allahbaksh Asadullah
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Apart from router config check out Windows Firewall setting. In Exception Tab add Tomcat and Add port.
Regards,
Allahbaksh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic