Jump to content

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


Recommended Posts

Guest Saurabh Sutone
Posted

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...

  • Replies 0
  • Created
  • Last Reply

Popular Days

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...