ServerSocketChannel server = ServerSocketChannel.open();
InetSocketAddress address = new InetSocketAddress( 9000);
server.socket().bind(address);
1.InetSocketAddress address = new InetSocketAddress(InetAddress.getLocalHost(), 9000); // telnet doesnt work
2. InetSocketAddress address = new InetSocketAddress( 9000); // telnet localhost 9000 => OK