Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

Get ip address

$
0
0

Hi, 

I will like to get the ip adress of my computer such as (220.255.1.46) so I can get the country I am at. But I keep getting ::1 as the output.

This is what i used: 

Request.ServerVariables["REMOTE_ADDR"];

What is my problem? 


Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>