Sometimes on Suse Linux machines, call to ServerSocket default constructor can take more than 3 minutes.
Here is the stack trace:
at java.net.PlainSocketImpl.initProto(Native Method)
at java.net.PlainSocketImpl.<clinit>(PlainSocketImpl.java:84)
at java.net.ServerSocket.setImpl(ServerSocket.java:236)
at java.net.ServerSocket.<init>(ServerSocket.java:61)
at ServerSocketCreateTest.main(ServerSocketCreateTest.java:9)
Attached program and script can be used to reproduce this.
It seems that it is waiting for some timeout.