This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread 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 Android Security Essentials Live Lessons this week in the Android 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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Deploying on the Real Web.
 
Similar Threads
Eclipse - J2EE perspective - Tomcat question...
deactivating debug=true
deactivating "?debug=true"
deactivating "?debug=true"
Include file doubt?