By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,651 Members | 1,368 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,651 IT Pros & Developers. It's quick & easy.

how to get the ip address of the user

P: 1
How we can get the ip address of the user who are accessing our url in java?
Apr 2 '12 #1
Share this Question
Share on Google+
1 Reply

P: 45
You can use getRemoteAddr() method of HttpServletRequest interface to access the IP address of the client machine.
Apr 2 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.