Is there a way to setup dagster-webserver so that ...
# ask-ai
u
Is there a way to setup dagster-webserver so that it only accepts connections coming from localhost?
s
Yes, you can configure the
dagster-webserver
to only accept connections from localhost by specifying the host as
localhost
or
127.0.0.1
when starting the webserver. According to the documentation, you can use the
-h
or
--host
option to set the host for the webserver. For example, you would start the webserver with the following command to only accept connections from localhost:
Copy code
dagster-webserver -h localhost
or
Copy code
dagster-webserver -h 127.0.0.1
This will bind the webserver to the localhost interface, preventing external connections from accessing the webserver. Only clients running on the same machine as the
dagster-webserver
will be able to connect. dagster-webserver does not work when hos... button Running dagster dev on specific host button Help needed with dagster-webserver, poss... button Deploying Dagster to Amazon Web Services... button Thank you for your feedback!