Hi Team,
Just i want know "How to check request is coming via proxy or normal".
Please give me exact answer.
Thanks
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Vinay SinghRank #604 · 4K reputationPosted Aug 8, 2016, 8:33 PM EDT
In general, you can't. When a request gets to your HTTP server, the only information you have about the client is its IP address and whatever other information the client decides to send to you in the request headers. The best you can do is look up the IP address in some kind of database to see if it's a known proxy.
If you're looking for a specific proxy that you expect to pass particular information in request headers, that's something else entirely. But in general, I can send a Web request to you from my client and make it look like a proxy, or I could send a request from a proxy and make it look like it's coming directly from the client.
Bikesh SrivastavaRank #108 · 20.3K reputationPosted Aug 8, 2016, 9:59 PM EDT