title: HTTP request and IP address
body: <p>I have got the ip address from the HTTP request object using </p>
  
  <p>request.getRmeoteAddr() => 127.0.0.0</p>
  
  <p>However im using netty and when I use </p>
  
  <pre><code>SocketAddress socketAddress = channel.getRemoteAddress();
  InetSocketAddress inetAddr = (InetSocketAddress)socketAddress;
  ipAddress = inetAddr.getAddress().toString();
  
  =&gt; 0.0.0.0.0.1
  </code></pre>
  
  <p>This is causing me problems when trying to compare, i want them in the same fomrat...</p>
  
  <p>any ideas?</p>