1

How can I get the remote IP Address?

asked 2024-01-31 06:51:40 +0800

dormitionskete gravatar image dormitionskete
15 2

How can I get the remote IP Address?

"Executions.getCurrent().getRemoteAddr()" used to work, but now only returns 127.0.0.1

Somebody on this list said they solved it using the header X-Forwarded-For.

But how?

Any help would be greatly appreciated.

delete flag offensive retag edit
Be the first one to answer this question!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
3 followers

RSS

Stats

Asked: 2024-01-31 06:51:40 +0800

Seen: 5 times

Last updated: Jan 31

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More