How to find the end user's IP address in a cloud environment

We noticed today that one of our ASP.NET cloud applications incorrectly identified the end user's IP address. Our Request.ServerVariables["REMOTE_HOST"] and Request.ServerVariables["REMOTE_ADDR"] were initialized with the load balancer information instead of the end user's data.

We found the end user's IP in a different place: Request.Headers["X-Cluster-client-IP"].

Happy coding!

Introductory Windows Azure webcasts for developers

If you are new to Windows Azure and would like to get started, take a look at these introductory webcasts on MSDN: http://msdn.microsoft.com/en-us/azure/dd439432.aspx. Enjoy!

.NET User Group on Thu, Feb 5, 2009: Windows Azure

If you have an interest in cloud computing, take a look at the .NET User Group event next week:

Who: Jeff Brand
What: Developing and Deploying Your Windows Azure Application
When: Thursday, February 5, 2009, 5-7 PM
Where: Microsoft, 8300 Norman Center Drive, Suite 950, Bloomington MN 55437
Cost: Free

Check http://www.ilmservice.com/twincitiesnet/seminar.aspx for more information.

January event at OTUG

Do not miss an excellent event tomorrow night:

Who: Michael Nygard
What: Clouds, Grids, and Fog
When: Tuesday, January 20, 2009, 6:00 - 8:00 PM
Where:  Owens Science Hall (OWS) - 3M Auditorium, University of St. Thomas, St. Paul, MN

As usual, check http://www.otug.org for more information.

Welcome to ModelBlog

Thank you for visiting ModelBlog. We hope the time you spend with us will be both entertaining and worth your while. Have fun!

Authors

Search

Archive

Tags