Real IP Adresses of Visitors?

I am sorry for this basic question, I need to get real IP address of visitor so that I can block the spam bots and leeches, all I get is anonymous IPs like e.g. IP: 2404:160:a002::

Where is the setting to see real IP or how can I see the IP on visitors profile or anywhere ? thanks

Edit: My site is behind Cloudflare btw.