Click here to Skip to main content
16,021,288 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,
i want to get the user ip from my application, but i am not get the ip of those user who are used my application through any proxy server.in this case i am getting the proxy server ip not the user machine ip.


Please suggest me how to get the user ip over the proxy servers.
My application in asp.net with C#.

i am waiting for your suggestion.
Posted

That is the idea of a proxy server: A client connects to the proxy server, requesting some service, such as a file, connection, web page, or other resource, available from a different server. If the request is validated, the proxy provides the resource by connecting to the relevant server and requesting the service on behalf of the client. At no time does the IP of the client get to the server - it remains internal to the proxy.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 7-Jun-11 13:27pm    
Explained, my 5.
--SA
Please provide me some sample code, i tried to get ip many ways with different code but not get satisfied output
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900