Back

[SOLVED] Cors issue. I am not able to connect to appwrite server with my localhost

  • 0
  • Web
Monk_who_creates
25 Nov, 2023, 10:57

I have integrated the web platform. The project id and api link is correct.

TL;DR
The user was having a CORS issue while trying to connect to an Appwrite server with localhost. The issue has been solved, and the solution was to add the IP address as the hostname instead of "localhost". The user confirmed that after making this change, everything is working correctly.
D5
25 Nov, 2023, 12:21

What did you have added as hostname?

D5
25 Nov, 2023, 12:21

Try adding the IP

Monk_who_creates
25 Nov, 2023, 12:26

hostname is localhost

D5
25 Nov, 2023, 12:26

Then try adding the IP

D5
25 Nov, 2023, 12:27

127.0.0.1

Monk_who_creates
25 Nov, 2023, 12:54

thank you so much. Its working now

D5
25 Nov, 2023, 13:23

Great!

D5
25 Nov, 2023, 13:23

Marking this as solved then

D5
25 Nov, 2023, 13:24

[SOLVED] Cors issue. I am not able to connect to appwrite server with my localhost

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more