tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: tomcat connection prob.
Date Wed, 04 Jan 2006 06:11:20 GMT
> From: issac young [mailto:issacyoung@gmail.com] 
> Subject: Re: tomcat connection prob.
> 
> the problem now is .. how can i expose my tomcat server to 
> other PCs in my network ???

By default, Tomcat listens on all IP addresses configured for the box,
unless you've added an address attribute to the <Connector> tag you're
using.  Try doing 
   netstat -anb -p tcp
while Tomcat is running and see who's listening to what.  You should see
something like this:

Active Connections
 Proto  Local Address    Foreign Address   State       PID
 TCP    0.0.0.0:80       0.0.0.0:0         LISTENING   3336
 [tomcat5.exe]
 TCP    0.0.0.0:443      0.0.0.0:0         LISTENING   3336
 [tomcat5.exe]
 TCP    127.0.0.1:8005   0.0.0.0:0         LISTENING   3336
 [tomcat5.exe]

among other entries.  The Tomcat ones should show whatever port numbers
you have configured (default is 8005, 8009, and 8080); the one for 8005
should be using IP address 127.0.0.1, the others 0.0.0.0 (i.e., any IP
address).

Can you ping your server from other workstations on the network?

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus 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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message