Hi everyone, requesting for alternative function of
const response = await axios.get(http://ip-api.com/json/${ipAddress});
that can work in node.js to retrieve user ip address from appwrite server..
You want to get the user IP from browser?
Can you elaborate?
I want to get ip address of the user in appwrite server using node.js platform
The user was created in appwrite server. so i want to get his ip adress when running my function on node.js
If you'll run this function inside your Appwrite function then you'll always going to get you server IP I don't think Appwrite gives you the user IP in the backend.
many thanks
Please mark this post as SOLVED or CLOSED if no further help is needed.
where exactly is this nodejs server running? where does it fit into your architecture?
Hey, have that file which I have transcompiled to js. when I run index.js, I dont get any output, may you help please... I am running the file in nodejs
This looks unrelated to your original message, right? π§
Yes sir, but still under the same work
please create a separate post after searching <#1072905050399191082>
Recommended threads
- Appwrite DNS nameservers return SERVFAIL...
My custom domain demomanasa.online (and all its subdomains) stopped resolving with ERR_NAME_NOT_RESOLVED for all visitors. I have traced the failure to Appwrite...
- Framework categorization for Sites
Hello, I want to deploy my web app via Appwrite SItes. My web app is vite+reactjs. In the Appwrite docs, it creates a vite+react app, and chooses React from the...
- Not allowed permission to upsert a prese...
```js const presenceID = ID.unique(); setPID(presenceID); const presence = await presences.upsert({ presenceId: presenceID, status: "online"...