If you are running windows you can use your machine name to access the url but I doubt that'll work from outside. As for not using the port number 8080, you can configure tomcat to use port 80. Most browsers understand that webservers listen at port 80, so if you configure tomcat to listen on port 80 you can access the url without specifying the port.
How to change the port? take a peek in the server.xml file, and look for 8080, change it to 80.


but all the way do u know how to fix this problem i have ----- i want to replace the IPADDRESS of the machine on which TOMCAT is running with some name, lets say 'IAMTOMCAT' and can we get rid of the port number in the address for running the TOMCAT, so in the end can the address look like this -----
http://IAMTOMCAT/index.html
awaitaing reply !

Swapneel Dange
505-642-4126
http://www.cs.nmsu.edu/~sdange








From: "Jake Robb" <[EMAIL PROTECTED]>
Reply-To: "Jake Robb" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: Re: index.html and ipaddress ?
Date: Thu, 13 Feb 2003 11:33:04 -0500

And do you want the current contents of the ROOT directory to remain
available?

If there's no reason you can't, then just put your stuff in ROOT. If there
is, but you want to keep the current contents of ROOT, then just redefine
your contexts in server.xml so that / points to swapneel and something else
points to ROOT.

----- Original Message -----
From: "Jake Robb" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 11:26 AM
Subject: Re: index.html and ipaddress ?


> Is there a reason you can't put your index.html file in the ROOT
directory?
>
> ----- Original Message -----
> From: "Swapneel Dange" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 13, 2003 11:24 AM
> Subject: index.html and ipaddress ?
>
>
> > hi there !
> >
> > i am running a TOMCAT successfully, but if i want to see the page saying
> > index.html , which is not in the 'ROOT' diretory under 'webapps' but its
> > under another directory named 'swapneel', which is also under 'webapps'.
> But
> > whenever i say http://localhost:8080/index.html then it will always show
> the
> > default page for the TOMCAT. i want my index.html in 'swapneel' to be
> shown
> > on the browser.
> >
> > the other thing is that i want to replace the IPADDRESS of the machine
on
> > which TOMCAT is running with some name, lets say 'IAMTOMCAT' and can we
> get
> > rid of the port number in the address for running the TOMCAT, so in the
> end
> > can the address look like this -----
> >
> > http://IAMTOMCAT/index.html
> >
> > What are the files that need to be changed accordingly for this thing to
> > work ? thanx to all !
> >
> > Swapneel Dange
> > 505-642-4126
> > http://www.cs.nmsu.edu/~sdange
> >
> >
> > _________________________________________________________________
> > Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> > http://join.msn.com/?page=features/junkmail
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to