Waseem, Have you tried InetAddress.getLocalHost()?
Sonal On 9/18/07, Waseem Azhar <[EMAIL PROTECTED]> wrote: > > Hi, > > How do I obtain the IP address of the machine (where the tomcat tomcat > server in running) ? My web app is deployed on tomcat server and I want to > know the Ip address of the server in my application. > > Thanks in advance. > > -Azhar > -- Thanks and Regards, Sonal