There is an attribute in WeblogEntryComment for remoteHost. If you're
running behind apache http server and you're not doing dns lookups, which is
the default, remoteHost will be the ip address. So in many cases calling
getRemoteHost() will give you the ip address. 

Where exactly are you trying to get the ip address?


Reply via email to