This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Tomcat and the fly likes Deploying on the Real Web. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deploying on the Real Web." Watch "Deploying on the Real Web." New topic
Author

Deploying on the Real Web.

Sunil Chandurkar
Ranch Hand

Joined: Jan 09, 2008
Posts: 37
I want to access my web application by typing in www.mywebapp2008.com instead of http://localhost:8080/mywebapp.....

Is this possible?

Can I access my application from another computer if I leave the Tomcat running?
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1526
Originally posted by Sunil Chandurkar:
I want to access my web application by typing in www.mywebapp2008.com instead of http://localhost:8080/mywebapp.....

Is this possible?

Can I access my application from another computer if I leave the Tomcat running?


Yes it is possible provided both the machines are in network.
localhost means accessing your machine by itself.
If you are in LAN, you can try accessing it from other machine by replacing 'localhost' by your ip-adderss or machine name.
For internet, you must have a dns registration to dump your code. (That is what a web-hosting company does.)


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying on the Real Web.