ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gene...@ws.apache.org
Subject [Apache Web Services Wiki] New: FrontPage/Axis/ClientIP
Date Tue, 11 Jan 2005 11:16:26 GMT
   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. 

Mime
View raw message