[SOLVED] my website is working in localhost but not when running on a vm in my network
- 1
- Resolved
- Web
Hi, when I am running my nextjs project locally everything is working fine but when I run the website on a vm I am getting "AppwriteException: Network request failed " So I am trying to connect to <My Ip>:3000/login and the login is failing due to the network error my appwrite server is on cloud.appwrite.io
Does this VM have Internet access?
Can you reach https://cloud.appwrite.io from a browser in this VM?
have you configured your project with the ip of your vm?
how do I do that?
yes
In the Console Overview page, near the bottom, there’s an Add platform button
that what I was missing!, thanks!
If your issue has been solved, you can mark this post as closed by adding “[SOLVED]” to the beginning of the title
[SOLVED] my website is working in localhost but not when running on a vm in my network
Recommended threads
- 1.9.5 Migration problem
1.9.5 migration problem after run migration command only openruntimes-executor
- Appwrite Sites deployment fails because ...
Appwrite Cloud Sites deployments are failing consistently for both GitHub and manual deployments. The build command completes successfully and packaging also c...
- Build succeeds but deployment fails — si...
My Next.js 15.5.20 site (standalone output mode) builds successfully on Appwrite Sites, but the deployment fails at the final packaging step with: [sidecar:bui...