Click here to Skip to main content
12,243,522 members (47,814 online)
Click here to Skip to main content

Tagged as

Stats

1.2K views
Posted

Get the actual IP address

, 4 Oct 2012 CPOL
I want to get user ip address for my application. I am using following code as txtip.Text = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];but it always return 127.0.0.1 but my actual ip address is 192.0.0.110. I want this ip to be returned using coding in asp.net .Please any...

Revisions


  

Compare Revision Minor Date Status Editor
2 - publicly available No 5-Oct-12 1:25 Available Kenneth Haugland
Updates in content.
1 No 3-Oct-12 1:54 Available iyalarasi

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

iyalarasi
India India
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 5 Oct 2012
Article Copyright 2012 by iyalarasi
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid