Thanka, but if I have multiple interfaces on the server, how do I know which interface to you from the ifconfig output?
Natalie ________________________________ From: Steve <ste...@up-south.com> To: Tomcat Users List <users@tomcat.apache.org> Sent: Thursday, February 19, 2009 4:36:43 PM Subject: Re: Getting the tomcat server IP Natalie Forood wrote: > Hello, > > Can you tell me how I can get the IP address of the interface that is running > Tomcat? I can't use localhost, I need the IP of the physical interface. > > Thanks, > Natalie ifconfig (linux/unix/mac osx) ipconfig (windows cmd line) -- eats the blues for breakfast, does unix for rent, plays harp for food, will play the flute for kicks rides for the freedom scrapes for the challenge --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org