[Solved] Difference between two code

What is the difference between

ServerSocketChannel server = ServerSocketChannel.open()
server.bind(new InetAddress(55555))

and

ServerSocketChannel server = ServerSocketChannel.open()
server.socket.bind(new InetAddress(55555))

The reason that i ask because i see the latter so much