how to get referer's IP address

I can get referer using request.servervariables("http_referer"), but how can I get referer's IP address instead of referer's domain name?
 
thanks
flyoverskyAsked:
Who is Participating?
 
AzraSoundCommented:
you can use a component such as AspDNS
http://www.serverobjects.com/products.htm#aspdns

or roll your own (VB Code):
"How to Resolve a Hostname Into an IP Address"
http://www.mvps.org/vbnet/index.html?code/network/hostnamefromip.htm
0
 
epeeleCommented:
   tIP = Request.ServerVariables ("REMOTE_ADDR")
0
 
flyoverskyAuthor Commented:
thank very much!
0
 
flyoverskyAuthor Commented:
thank very much!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.