MilindOriginal post
Web Developer
Hi I have hosted appwrite on self hosted server. Currently I don't have any domain. I am accessing through ip. I have created one function which should detect the client ip. But I didn't get any x-forwarded and other related headers which can identify the ip.
I am testing function through url V1/function/I'd//executions.
Can someone help me on this?
Thanks.
Summary
Developers hosted Appwrite on a self-hosted server but can't detect client IP through a function. No headers like x-forwarded are showing up. Testing done through a specific URL.
Solution: Check the server configuration to ensure headers are being passed correctly. Update firewall settings if necessary.