Browser app via textual serve not working #5475
Unanswered
dacoders77
asked this question in
Q&A
Replies: 3 comments
-
js file is there but the app is trying to load it from http://0.0.0.0:9000/static/js/textual.js which is the container host ip address. What am i doing wrong? How to run the app? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Tried to run like this: textual serve --host 0.0.0.0 --port 9000 "python -m menu.py" |
Beta Was this translation helpful? Give feedback.
0 replies
-
I found the solution, now it's working: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I run textual web server in a docker container on port 9000. I was not able to access it from the host if not set to: textual serve menu.py --host 0.0.0.0 --port 9000. If set to 0.0.0.0 i can access it but the app is not loading. No interface show, just the logo. I can see that some js files were not loaded in the dev console in chrome. Those files are being downloaded from http://0.0.0.0:9000/static/js/textual.js which is inaccessible from the host. What should i do?
Beta Was this translation helpful? Give feedback.
All reactions