Show Public IP on Worker Processes

Andrés Lisaso Pérez 20 Reputation points
2023-10-06T10:13:58.7+00:00

Question: Is there a way to add the Public IP field (which refers to the public IP transmitted from a load balancer or reverse proxy to pass it to the web server) within the "Worker Processes" section of IIS?

Internet Information Services
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,648 questions
{count} votes

Accepted answer
  1. Sam Wu-MSFT 7,286 Reputation points Microsoft Vendor
    2023-10-13T09:47:12.6033333+00:00

    @Andrés Lisaso Pérez

    This is impossible. only the original IP can be displayed in Processes. This involves the underlying code of iis and cannot be changed.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 61,731 Reputation points
    2023-10-06T15:39:51.1833333+00:00

    Typically the load balancer pass this information via custom http headers. For example

    X-Forwarded-Host

    is the standard for the hostname. There is no standard for the load balancers ipaddress. You will need to configure one.