Next.js Discord

Discord Forum

value of request.ip

Unanswered
Spectacled bear posted this in #help-forum
Open in Discord
Spectacled bearOP
I'm using next.js v14 app router

How the value of request.ip is set is unclear. The doc say it depend on the hosting provider. What if I run my own next.js app on a linux server ? How can I specify manually the value of request.ip in this case ?

0 Replies