[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2009-03-30
4
Medium Priority
?
987 Views
Last Modified: 2012-05-06
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

0
Comment
Question by:bobdylan75
  • 2
4 Comments
 
LVL 31

Expert Comment

by:RiteshShah
ID: 24016738
are your PC part of domain system? or are you working in stand alone pc?
0
 
LVL 18

Expert Comment

by:carlnorrbom
ID: 24016791
Hi,

An unassigned IPv6 address?

/Carl.
0
 
LVL 31

Accepted Solution

by:
RiteshShah earned 1500 total points
ID: 24016849
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
 

Author Comment

by:bobdylan75
ID: 24018427
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

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In real business world data are crucial and sometimes data are shared among different information systems. Hence, an agreeable file transfer protocol need to be established.
Integration Management Part 2
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question