No,
getRemoteAddr gets the address of the client machine,
getLocalAddr gets the address of the host machine.
getRemoteAddr
public java.lang.String getRemoteAddr()
Returns the Internet Protocol (IP) address of the client or last proxy that sent the request. For HTTP servlets, same as the value of the CGI variable REMOTE_ADDR.
Returns:
a String containing the IP address of the client that sent the request
[ May 27, 2008: Message edited by: Ben Souther ]