For IPv4 and IPv6 connections, the REMOTE_ADDR environment variable will contain the remote IP address,
https://www.freedesktop.org/software/systemd/man/systemd.socket.html
For IPv4 and IPv6 connections, the REMOTE_ADDR environment variable will contain the remote IP address,
https://www.freedesktop.org/software/systemd/man/systemd.socket.html