This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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: 19690
    
  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: 20046
    
  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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Run my web application from another computer
 
It's not a secret anymore!