How do i get the IP of those who visited my url

I am using it for my nextjs application but i cant seem to get the ip address of those who visit my proxy url. I need help please.

Hey @David_McMahon,

Sorry for the super late reply. boringproxy should be setting the X-Forwarded-For header. Will that work for your needs?

I am using it with nodejs and express. Its not getting the ip of those visiting my website which i hosted using boringproxy. Instead i get the ip of the host server.

Yeah you need to check the header I mentioned in your Express app:

Thank you. I will check it out

1 Like