# Xmlrpc - get caller's IP address in handler?

**URL:** <https://www.ruby-forum.com/t/xmlrpc-get-callers-ip-address-in-handler/174841>\
**Category:** Ruby\
**Created:** [September 2, 2009, 11:20pm UTC](https://www.ruby-forum.com/t/xmlrpc-get-callers-ip-address-in-handler/174841 "2009-09-02T23:20:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthew](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ed655f/32.png) [@matthew](https://www.ruby-forum.com/u/matthew)\
**Post date:** [September 2, 2009, 11:20pm UTC](https://www.ruby-forum.com/t/xmlrpc-get-callers-ip-address-in-handler/174841/1 "2009-09-02T23:20:52Z")

</div>

Hi,

I have an xmlrpc standalone server created using

XMLRPC::Server#add\_handler( interface, obj )

It all works nicely, but I really want to log the address of the calling  
machine as they hit the handler method (I’m using the service to provide  
a kind of port knocking in addition to another service). Is there any  
way of getting this information?

Thanks,

Matt.
