jQuery in Action, 3rd edition
The moose likes Tomcat and the fly likes Run my web application from another computer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Run my web application from another computer" Watch "Run my web application from another computer" New topic
Author

Run my web application from another computer

Nada Bajnaid
Ranch Hand

Joined: Aug 14, 2011
Posts: 45
Hi all
I create my web application using eclipse and tomcat7. It works fine I call it through (localhost:8080/myApplicationName). Now I need to test my application by some users but I don't know how to call my application from different machines. Your support is highly appreciated

Thanks
Nada
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19728
    
  10

Instead of "localhost" they just need to use the name of your computer.

They do need to have network access from their computer to yours. Obviously it can't be done if there isn't any known connection between the two machines.
Nada Bajnaid
Ranch Hand

Joined: Aug 14, 2011
Posts: 45

Thanks for the reply. Could it be through the Internet?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20080
    
  30

You will probably need to configure port forwarding in your router / firewall, but it should definitely be possible. Check the documentation of your router / firewall to see how to do this.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
Have you checked out Aspose?
 
subject: Run my web application from another computer
 
It's not a secret anymore!