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();
System.out.println(Address);
Marcin-Komputer/127.0.0.1
:((((
What is wrong?what I need to change to work with my IPv6 address??please, give me some advice..
View Tutorial
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
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
Count number of vowels, consonants and digits in a String in Java
Student marks calculation program 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
Archived Comments
1. Great Sample, it helped me alot
Tha
View Tutorial By: Mike at 2010-03-02 04:39:57
2. good but i needed you to implenent linked list usi
View Tutorial By: emmanueli at 2011-06-08 10:08:16
3. nice explanation indeed, but can u please explain
View Tutorial By: ishika at 2015-06-23 09:16:16
4. I am using my NOKIA 2700 via blutooth connection.
View Tutorial By: Rahi at 2010-05-11 04:39:33
5. Really superb.Simple code.Thanks.
View Tutorial By: pradesh at 2010-04-30 01:09:57
6. VERY good info. Providing By YOU Thanx.
View Tutorial By: Ravi singh at 2013-11-14 08:56:34
7. MySQL Connector/J supports only TCP/IP connections
View Tutorial By: Java Training Institute In Chennai at 2012-09-13 12:37:44
8. Thanks for your nice article.I learned a lot
View Tutorial By: Mahyar at 2012-08-12 12:09:36
9. I am getting error in setContentView(R.layout.main
View Tutorial By: Malick at 2013-06-30 06:57:30
10. Good Tutorial.
Thanks.
View Tutorial By: Oki Wicaksono at 2012-05-29 04:09:05