I was wondering, I saw the virtual host configuration documentation, and was
about to attempt such a thing.  So I should add an Alias tag, under a host
tag in the server.xml?

Jeremy Davis
Senior Support Analyst
BPI Marketplace Integration
614.760.8941
1.800.436.8726 - Support Line


-----Original Message-----
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Friday, March 21, 2003 2:37 PM
To: Tomcat Users List
Subject: 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 
<[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
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