Anonymous
TRIALOP
2 years ago
I have deployed my app using docker on Railway, my app takes the external ip address from the requests it gets and needs to save them to a database. However when saving the address it's a private IP address and that's not what i want
26 Replies
2 years ago
nope
2 years ago
not for long
2 years ago
please see the "request headers" section of this docs page
Status changed to Solved Railway • about 2 years ago
2 years ago
read the right most value
2 years ago
railway is not going to be using envoy forever
ok, true, but there was a problem with clients being able to just set arbitrary value to X-Forwarded-For
2 years ago
^
2 years ago
^
2 years ago
read the right most value from that header and you will get the remote ip
2 years ago
no problem