If your Java networking is broken and any traffic always
results in a "java.net.SocketException: Network is unreachable" error, then here comes a quick fix:
- edit /etc/sysctl.d/bindv6only.conf
- change value net.ipv6.bindv6only=1 into 0
- invoke-rc.d procps restart
Thanks for posting this.
ReplyDeleteI received the error when using moneydance (running debian squeeze), followed your advice and all is now well. Thanks again.
I had same problem, when I updated my debian. Some update changed my /etc/sysctl.d/bindv6only.conf and set 1. I wasn't able to to start my application server like tomcat or jetty. Thanks.
ReplyDeleteThanks very much.
ReplyDeleteI use debian. My bibliography manager (JabRef) was no longer able to connect to remote bibliographic databases (pubmed etc.).
This bugfix worked for me.
Hello. Many thanks for this tip - I would never find it alone. I event don't try to ask why did they do it? :) I start to fear another dist-upgrade, but it's always hard time when I upgrade debian every year..
ReplyDeleteRegards
thank you very much for posting this :-)
ReplyDeleteWoohoo! This was the problem! Thank you :)
ReplyDeleteGreat !
ReplyDeleteI wasn't able to use Device Manager (network administration) and Spark (Enterprise Instant Messaging).
It works for me !
For me too, my Jabref on Debian , option "Fetch on Medline" fix this too !!
ReplyDeleteThank you. I had no idea it had to do with Debian and ipv6. I was trying to figure out some issue with Red5 configuration. Thanks much!
ReplyDeleteCould you please tell the equivalent setting for Windows?
ReplyDelete