-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
to setup the example on 0.0.0.0 #7
Comments
Hello, please ensure that the firewall is not blocking incoming requests on port 8000. here are some guides to help you out. Edit: Please note that backend url is also hardcoded in the example app. |
In my case it worked on live server with [server ip address]:8000, |
Description
I am striving to make the example work on the interface 0.0.0.0 so that I can deploy the instance on the server and access it through the internet. I can access the website but I failed at getting the error " Failed to fetch" and show no users nor messages.
What I Did
change the host in backendUrl from 127.0.0.1 to 0.0.0.0:8000 and the corresponding main.js as well.
I am very new to Django and these frontend frameworks. If the question is too dumb, please forgive me.
Thank you very much!
The text was updated successfully, but these errors were encountered: