Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Connecting from host to virtual server fails with network unreachable from Java

I have a server that has several virtual machines running on it. I'm trying to connect to one of these servers using Java, but it fails with "Network unreachable". The usecase is Hudson connecting to run a slave on a windows-machine. It works using python sockets, so it's quite odd.

This is the network configuration on the host machine http://dpaste.com/168704/ . The problem is reproduced using this snippet http://dpaste.com/168708/ .

Any ideas? I've only managed to reproduce this problem with java. ssh, ping, python and nc was tested as well and they work.

Edit: Seems that all outbound connections from java suffers the same fate from the host machine.

like image 596
Klette Avatar asked Nov 19 '25 00:11

Klette


1 Answers

I was hit by this bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560056 .

So works now with the quick fix :-)

like image 81
Klette Avatar answered Nov 20 '25 13:11

Klette



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!