OK, so if Tomcat is on a separate machine, you have to make sure your Host
element in server.xml is correct.

If you are accessing your machine with a URL like http://1.2.3.4:8080 than
the Host element has to have "1.2.3.4" in it.  If the URL is something like
http://my.internal.host:8080 than the Host element has to have
"my.internal.host" in it.  The default is "localhost", which means only
http://localhost:8080 will work, and that will only work from the same
machine that has Tomcat on it.

John


> -----Original Message-----
> From: Marc [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 23, 2002 10:31 AM
> To: Tomcat Users List
> Subject: Re: Cannot setup tomcat
> 
> 
> Hi John,
> I'm trying tomcat with the default server.xml.
> Tomcat is running on a webserver (I can access via telnet).
> 
> I'll try to investigate more about netstat opts.
> 
> Thank you again!
> 
> Marc
> 
> "Turner, John" wrote:
> 
> > Is the HTTP connector enabled?  Is the Host element in 
> server.xml correct?
> > Are you accessing Tomcat from the same machine where Tomcat 
> is running, or
> > from a different machine?
> >
> > netstat is the correct command.  I wouldn't say the output is
> > "confused"...it's the standard command that everyone uses.  
> If you want to
> > know more about netstat, then type "man netstat" at a 
> command line and check
> > the man pages for command line options that will organize 
> the output in a
> > way that makes sense to you.
> >
> > John
> >
> > > -----Original Message-----
> > > From: Marc [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, September 23, 2002 9:47 AM
> > > To: Tomcat Users List
> > > Subject: Re: Cannot setup tomcat
> > >
> > >
> > > Hi John!
> > > Yes, I think so, but I referred to the Coyote HTTP connector
> > > too. Seems that
> > > tomcat cannot bind to the port 8080 (starts ok, but does not
> > > start the HTTP
> > > connector on port 8080). I'm a bit newer on Linux, and I
> > > don't know if this could
> > > be an OS problem configuration, or jdk version (later I will
> > > try using jdk1.3).
> > >
> > > How can I know the used ports on linux (I've tried 'netstat',
> > > but the information
> > > is confused)?
> > >
> > > Thank you!!!
> > >
> > > Marc
> > >
> >
> > --
> > To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


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

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

Reply via email to