Use --dev-port
and --dev-host
to define devtools' port and host
#5445
python-and-novella
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The devtools' port and host in
textual run
is defined by--port
and--host
, which are same astextual serve
.In other words, I can't define the devtools' port and host when I want to define server's port and host at the same time in simple way.
The alter ways are:
textual run --dev --port 8080 --host 127.0.0.1
with-c
which is connect withtextual serve main.py -p 8888 -h 0.0.0.0
or'textual serve main.py --port 8888 --host 0.0.0.0'
textual serve --port 8888 --host 0.0.0.0
with-c
or not which is connect with'textual run --dev main.py --port 8080 --host 127.0.0.1'
Maybe using
--dev-port
and--dev-host
to define devtools' port and host is better?Beta Was this translation helpful? Give feedback.
All reactions