If you are experiencing:

Caused by: java.net.SocketException: Network is unreachable 

This is most likely because of the Debian bug to force all system using IPv6. According to the reference, you should do:

$ sudo sed -i ‘s/net.ipv6.bindv6only\ =\ 1/net.ipv6.bindv6only\ =\ 0/’ \ /etc/sysctl.d/bindv6only.conf && sudo invoke-rc.d procps restart

REFERENCE: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560044