Found the reason:
there was an entry in /etc/hosts : 127.0.1.1 myhostname
changed this to the 'real' address 192.168.(something) on both linux boxes.
After that i was able to connect.
[Message sent by forum member 'pestar' (pestar)]
http://forums.java.net/jive/thread.jspa?messageID=334385