Get user's IP address

Hello,

I am building a hotel’s internal website that must be accessible only when the visitor is connected to its static IP address. I am using Astro SSR and used their Astro.clientAddress, Netlify’s Edge functions, and even a third party service (ipify) to get the visitor’s IP, but they all report an IP that is different from the one that is reported with IP lookup tools. What am I missing?

The clients IP is available in the Edge functions Context object