#Directus SDK dont whant to work with local host
26 messages · Page 1 of 1 (latest)
Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:
- Adding an explanation of exactly what you're trying to achieve.
- Adding any and all related code or previous attempts.
- Describing the exact issue or error you are facing.
- Posting any screenshots if applicable.
- Reading through https://stackoverflow.com/help/how-to-ask.
When you're done with this thread, please close it. Thanks! ✨
(If you have a support agreement and need help, please contact the core team via email.)
What's the exact url you're passing to the SDk?
DIRECTUS_API_URL=http://localhost:8055
http://localhost:8055 this not works too
but if that doesn't fix it - maybe some kind of networking issue
I've not seen this error before when using the SDK
Are you sure your Directus API is running?
Yes
sdk just cant connect
maybe it's some kind of resolution error then - could be an issue where your running directus at 0.0.0.0:8055
and the SDK is trying localhost:8055