Comment on Tutorial - InetAddress Example program in Java By Grenfel

Comment Added by : Marcin

Comment Added at : 2011-05-17 05:24:51

Comment on Tutorial : InetAddress Example program in Java By Grenfel
Does anybody know how to force using IPv6 by my laptop??
I connect my computer to another one locally, disable IPv4 stack on my NIC, assign static IPv6 address (which is displayed and confirmed by ipconfig command in cmd) and after all what I get from these two lines of code?

InetAddress Address = InetAddress.getLocalHost();


What is wrong?what I need to change to work with my IPv6 address??please, give me some advice..

View Tutorial

Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Thanks.It helps a lot to me.
View Tutorial          By: Sachin at 2013-05-24 19:36:36

2. good understandability code
View Tutorial          By: Raja Mahendra Kumar at 2009-03-05 03:11:26

3. good. keep it up !
View Tutorial          By: hashu at 2011-06-21 01:49:59

4. as we write:
Does t

View Tutorial          By: abc123 at 2011-04-03 13:33:33

5. The example given here are simple and easy to run
View Tutorial          By: Kranti at 2012-04-26 10:18:34

6. it is possible to write any synchronisation progra
View Tutorial          By: shashi kant mishra at 2013-10-14 02:54:25

7. hi
thanks for the above code

View Tutorial          By: mjnanthini at 2010-09-29 00:59:01

8. Thanks a lot!!!.Quite helpful article.

View Tutorial          By: Raj at 2008-03-14 03:59:56

9. give the picture view of connecting with my
View Tutorial          By: Murugamani at 2014-09-09 06:12:58

10. voire pluse a des command java
View Tutorial          By: lahcine moubarek at 2009-02-16 01:59:17