• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Url(Doubt.......)

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hw 2 specify the own userdefined name instead of repective port number .....
ex:tomcat 6.0 url is http://localhost:8080/ instead of this url can we specify our http://Mysample/ as if.................
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Two things: first, change Tomcat to listen to port 80 instead of port 8080. Since port 80 is the default for HTTP requests, it is not necessary to specify it. Open your server.xml file and search for "8080".
Second, you need to register a domain name with a company like GoDaddy or Network Solutions. They will associate your domain name with the IP address of the server your site is hosted on. If you don't have a coderanch, static IP address, you'll either need to get one or find a hosting company to host your site.
 
I have a knack for fixing things like this ... um ... sorry ... here is a consilitory tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic