You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by jamel <ja...@gmail.com> on 2009/05/13 11:57:01 UTC

How can I get the client IP address or the client hostname

Hi,
I work with apache xmlrpc version 3 with the webserver class, in the handler
class I would get the IPAddress. Can You help me please

Regards
--Jamel
-- 
View this message in context: http://www.nabble.com/How-can-I-get-the-client-IP-address-or-the-client-hostname-tp23518822p23518822.html
Sent from the Apache Xml-RPC - Dev mailing list archive at Nabble.com.


Re: How can I get the client IP address or the client hostname

Posted by jamel <ja...@gmail.com>.
Hi,
But I not use the XmlRpcServlet, I use the XmlRpcServer and the webserver.
Regards
--Jamel


Mike Boyers wrote:
> 
> 
> I asked a similar question a while back and someone pointed me to the
> answer here: 
> 
> http://people.apache.org/~jochen/xmlrpc/faq.html#client_ip
> 
> I did implement my solution as proposed (using ThreadLocals) and it's been
> working fine for me.
> 
> Mike
> 
> --- On Wed, 5/13/09, jamel <ja...@gmail.com> wrote:
> 
>> From: jamel <ja...@gmail.com>
>> Subject: How can I get the client IP address or the client hostname
>> To: xmlrpc-dev@ws.apache.org
>> Date: Wednesday, May 13, 2009, 5:57 AM
>> 
>> Hi,
>> I work with apache xmlrpc version 3 with the webserver
>> class, in the handler
>> class I would get the IPAddress. Can You help me please
>> 
>> Regards
>> --Jamel
>> -- 
>> View this message in context:
>> http://www.nabble.com/How-can-I-get-the-client-IP-address-or-the-client-hostname-tp23518822p23518822.html
>> Sent from the Apache Xml-RPC - Dev mailing list archive at
>> Nabble.com.
>> 
>> 
> 
> 
>       
> 
> 

-- 
View this message in context: http://www.nabble.com/How-can-I-get-the-client-IP-address-or-the-client-hostname-tp23518822p23521467.html
Sent from the Apache Xml-RPC - Dev mailing list archive at Nabble.com.