Tag: get Remote Address and get Remote Host

getRemoteAddr() vs getRemoteHost()

March 18, 2014 · 2 min read
###### Both getRemoteAddr() vs getRemoteHost() are defined in ServletRequest interface and serves the Servlet Programmer to retrieve the client system particulars from where the request came. They differ slightly in the output.