title: Java - ServerSocket IP Address
body: <p>After I opened a server socket, I would like to access its IP address (the one others can use to connect to). When I call</p>
  
  <pre><code>ServerSocket seso = new ServerSocket(port);
  System.out.println(seso.getInetAddress());
  </code></pre>
  
  <p>it displays (0.0.0.0/0.0.0.0), which is only the net mask. What I would like to get is the ip the socket was actually bound to, e.g. 130.75.22.12 (or something similar).</p>