tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Waseem Azhar" <waseem...@gmail.com>
Subject Re: how to obtain server ip address
Date Tue, 18 Sep 2007 05:50:12 GMT
Yes I have tried InetAddress.getLocalHost() and its working ...

Thanks,
-Azhar


On 9/18/07, Sonal Goyal <sonalgoyal4@gmail.com> wrote:
>
> Waseem,
>
> Have you tried InetAddress.getLocalHost()?
>
> Sonal
>
> On 9/18/07, Waseem Azhar <waseemzhr@gmail.com> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message