Technical articles
Debian: No ipv4 connection within Java applications
Recently there is a very annoying setting within debian squeeze. It causes many java applications to not function anymore on ipv4. Basically this means a lot of programs like Eclipse and Netbeans won’t function at all when requiring a connection.
This can be fixed by editing the following file:
/etc/sysctl.d/bindv6only.con
You should see the follow setting:
net.ipv6.bindv6only = 1
change this to:
net.ipv6.bindv6only = 0
Restart your system and your apps should be functioning properly again.
It took me several hours to find this solution, so I hope posting another article helps other people in search of a solution.
Thanks for reading.
| Print article | This entry was posted by admin on June 9, 2010 at 5:42 pm, and is filed under Linux. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |