In the “Customers Now Online” section of Magento2, we can see the list of visitors and customers right now visiting the site. But we cant see the IPs of them.
I have tried to show them in this section. Its created as a module. Note that, in some country its illegal to track a customer IP.
Please send your review, it is very valuable for me.

Download link : Show Customer IP (16 downloads) .