Public IP Not Captured in IIS Logs – Seeing Private IP of Network Gateway Instead

S

Saurabh Sutone

Hello Experts,We are running a website on an Azure Virtual Machine (VM) with Windows Server 2022, hosted publicly via IIS. However, we've encountered an issue with the IIS logs: instead of capturing the public IP address of the end user, the logs show the private IP address of our network gateway.Here are some key points about the setup:The website is hosted on IIS in Windows Server 2022 on an Azure VM.We have attempted configuring the X-Forwarded-For header in the IIS log settings, but this hasn’t resolved the issue.Our goal is to capture the actual public IP address of the end user in the II

Continue reading...
 
Back
Top Bottom