Getting the original client IP with X-Forwarded-For in your code

If you’re like many of our clients, you not only want to retrieve the original client IP for your web server logs, but you want to use them in code as well… for example, to track invalid login attempts, or record the IP in a database for online payments etc. (NOTE: If you need the […]

Read More

Extracting the Client IP in IIS 7.0 and 7.5

NOTE: This article covers obtaining the original client IP for logging purposes. If you need to obtain it for use in your code, check out this article. IMPORTANT! Before implementing the steps below, we’ll assume you’ve enabled the “client-ip” header pass-through. To do so, log into the management portal and edit your server(s). In the […]

Read More

Extracting the Client IP in IIS 6 or lower

NOTE: This article covers obtaining the original client IP for logging purposes. If you need to obtain it for use in your code, check out this article. IMPORTANT! Before implementing the steps below, we’ll assume you’ve enabled the “client-ip” header pass-through. To do so, log into the management portal and edit your server(s). In the […]

Read More

Extracting the Client IP in Apache 2.0 and 2.2

NOTE: This article covers obtaining the original client IP for logging purposes. If you need to obtain it for use in your code, check out this article. NOTE: Before implementing the steps below, we’ll assume you’ve enabled the “X-Forwarded-For” header pass-through. To do so, log into the management portal and edit your server(s). In the settings […]

Read More