You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by ge...@ws.apache.org on 2005/01/11 12:16:26 UTC

[Apache Web Services Wiki] New: FrontPage/Axis/ClientIP

   Date: 2005-01-11T03:16:25
   Editor: ToshiyukiKimura
   Wiki: Apache Web Services Wiki
   Page: FrontPage/Axis/ClientIP
   URL: http://wiki.apache.org/ws/FrontPage/Axis/ClientIP

   Importing old wiki ...

New Page:

##language:en
'''Q: How do I get the IP address of the client?'''

A: Use the following: 

{{{
    String remoteIP = msgContext.getStrProp(Constants.MC_REMOTE_ADDR); 
}}}

Note: your client IP address can be misleading sometimes because of proxy servers.