« Archives in September, 2013

java.net.ConnectException: network is unreachable

Under Debian (and I think other distros) if you receive this error on commandline when running java applications,

you can solve it simply setting this kernel parameter will solve the problem

 

sysctl net.ipv6.bindv6only=0