R
Railway2y ago
m1rza

Why does request.getRemoteAddr() always return 10.10.10.XXX ?

Seems like all my users sit in an internet café somewhere. 😄
7 Replies
Percy
Percy2y ago
Project ID: a45af505-1c73-4eb1-82a2-a15c9c5bd2f8
Percy
Percy2y ago
⚠️ experimental feature
m1rza
m1rza2y ago
PID a45af505-1c73-4eb1-82a2-a15c9c5bd2f8
jackson
jackson2y ago
must not be able to properly resolve or check the X-Forwarded-For header that railway’s proxy uses, probably just a library that’s not set up for stuff like that
m1rza
m1rza2y ago
Its just Log4j2 in Spring. o.O
m1rza
m1rza2y ago
Its still 10.10.10.X. I mean, its not a great issue, but I'd prefer actual addresses if possible.
m1rza
m1rza2y ago
FYI, this does it.
Want results from more Discord servers?
Add your server