You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Turner <to...@johnturner.com> on 2003/03/21 20:37:00 UTC
Re: tomcat responds with localhost, but refuses the connection w/mach inename
Did you configure a virtual host for machinename in server.xml, or just
leave it with localhost? Tomcat is literal, there is no catch-all like
there is with Apache. That is, unless you have a Host container for your
hostname or an Alias directive for an already existing virtual host, Tomcat
will not answer the request.
<Host name="localhost"..../> - will only take requests for localhost and
none other
<Host name="localhost"..../>
<Alias>machinename</Alias> - will take requests for localhost + machinename
<Host name="machinename"... /> - will take requests for machinename but not
localhost
John
On Fri, 21 Mar 2003 14:32:17 -0500, Davis, Jeremy
<Je...@stercomm.com> wrote:
> I got red hat 8.0, jdk 1.3.1_07, and tomcat 3.3.1a installed. If on the
> server, I do localhost:8080, it works ok and comes up with the welcome
> page,
> but when I do machinename:8080 it comes back telling me the connection
> was
> refused?
>
> Thanks,
>
> Jeremy Davis
> Senior Support Analyst
> BPI Marketplace Integration
> 614.760.8941
> 1.800.436.8726 - Support Line
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org