Why the item (0) of System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName).AddressList is "::1"?

Somebody knows why in my PC the first item (0) of System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName).AddressList has "::1" for value?
Thanks..

For Each theIP As System.Net.IPAddress In System.Net.Dns.GetHostEntry(System.Net.Dns.GetHostName).AddressList
            Dim theIPString = theIP.ToString
Next

Open in new window

bobdylan75Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
RiteshShahConnect With a Mentor Commented:
that is why it is behaving like this. you can have a look at following URL. it will show you the way how to treat if there is IPv6

http://msdn.microsoft.com/en-us/library/system.net.ipaddress.aspx

http://www.daniweb.com/forums/thread168515.html
0
 
RiteshShahCommented:
are your PC part of domain system? or are you working in stand alone pc?
0
 
carlnorrbomCommented:
Hi,

An unassigned IPv6 address?

/Carl.
0
 
bobdylan75Author Commented:
Sorry, I explain better the situation:
In item(0) value is ::1
in item(1) value (correct) is 192.168.1.33
No, I'm not in a domain.
I'm connected by dhcp to a router.
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.