tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <>
Subject RE: Moving Tomcat to work externally.
Date Thu, 11 Jul 2013 01:08:36 GMT
> From: john Matlock [] 
> Subject: Moving Tomcat to work externally.

> Following instructions found in various places I added the following 
> to the server.xml file and restarted Tomcat:

If you followed something that said to put a <Context> element in server.xml, you need
to stop going to those places and read the real Tomcat doc.

> <>

The above has no business being anywhere in a config file.

> <Host name="" appBase="webapps">
>       <Context path'"" docBase="C:\inetpub\wwwroot\" />
>    <Alias></Alias>
>    <Alias></Alias>
> </Host>

Take out all of the above; none of it is needed or desirable.

Remove the ROOT directory from Tomcat's webapps directory, replacing it with your webapp renamed
to ROOT.war (or, if it's already an expanded .war file, put it in the ROOT directory under

> Chrome, Firefox and even tried IE from another machine -- all say they
> can't connect.

What URL did you try to use?  Where is the "other machine" located relative to the one Tomcat
is running on?  What port is specified in server.xml?  Is there a firewall blocking that port?
 Be specific when reporting problems.

> Tomcat version: Whatever comes with Railo 4

If you don't know what it is, remove it, and install a real one from; otherwise,
you're just shooting in the dark.

> Is there something else I'm supposed to do?

Register the DNS name for your server with your DNS providers.

> Did I do something stupid?

Not terribly, other than not reading the real Tomcat doc before making changes.

 - Chuck

for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message