title: How to check in Java an IP address matches the server running the application
body: <p>The goal is checking that an application is running on a given server. Some kind of license check.</p>
  
  <p>Ideally the license will contain an IP address, and some Java code will check this IP address is the one where the Java process is running.</p>
  
  <p>Think about NAT, clouds, nodes, virtual machines and all little beasts.</p>
  
  <p>Any hints, ideas are welcomed</p>