You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brandon Cruz <bc...@norvax.com> on 2002/02/12 23:23:13 UTC

How can I distinguish separate tomcat servers from one another?

Does anyone know of a way I can distinguish which computer tomcat may be
running on for development purposes.  If there are several developers, we
want one of our servlets to store which computer connects to the database in
the database.  Is there a code that can tell which IP is connecting through
a browser.  The current problem is that since each developer uses localhost,
every ip seems to be 127.0.0.1.  Is there a command to get the computer name
or something that can identify separate machines?

Thanks in advance for any help!

Brandon


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


How can I tell who is connecting to the database?

Posted by Brandon Cruz <bc...@norvax.com>.
If several developers are connecting to the database using tomcat 3.2.4 on
localhost, is there a way to tell which computer is actually connecting?
When I try to get IP, it is always the same since they are at localhost.

Please help!!!

Brandon


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>