# Aerospike node ip from the client query

**URL:** <https://discuss.aerospike.com/t/aerospike-node-ip-from-the-client-query/6458>\
**Category:** Python Client\
**Tags:** query\
**Created:** [July 12, 2019, 5:08am UTC](https://discuss.aerospike.com/t/aerospike-node-ip-from-the-client-query/6458 "2019-07-12T05:08:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![riflerrick](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/riflerrick/32/1157_2.png) [@riflerrick](https://discuss.aerospike.com/u/riflerrick)\
**Post date:** [July 12, 2019, 5:08am UTC](https://discuss.aerospike.com/t/aerospike-node-ip-from-the-client-query/6458/1 "2019-07-12T05:08:42Z")

</div>

Is there a way we can get the aerospike node ip from within the client? Basically for every query, we want to log the aerospike node(in the cluster of n nodes lets say) that the query is hitting!

---

<div class="post-metadata">

**Author:** ![Nanda](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.aerospike.com/nanda/32/1036_2.png) [@Nanda](https://discuss.aerospike.com/u/Nanda)\
**Post date:** [July 12, 2019, 5:11am UTC](https://discuss.aerospike.com/t/aerospike-node-ip-from-the-client-query/6458/2 "2019-07-12T05:11:11Z")

</div>

Would come handy mostly in the case of errors from servers. Like Socket read errors, Socket write errors, timeout errors etc…
