"irwan irwan", the request that you change your display name to adhere to JavaRanch standards was not a suggestion. Valid display names are mandatory for participation on the Ranch. Please change your display name as instructed prior to your next post.
Be aware that accounts with invalid display names are disabled.
I have absolutely no idea what you're asking/struggling with. The whole topic/question is too vague. I at least understand that you need the IP address of the client. I can at least tell that you can get the remote address by HttpServletRequest#getRemoteAddr(). See if that helps you a step further.
Don't get me started about those stupid light bulbs.