ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Running server doesn't bind to 0.0.0.0

Open sigridjineth opened this issue 2 years ago • 3 comments

As being suggested on the title, it is not being able to access to comfyui web console from outer internet when just merely running main.py which is not explicitly noted.

sigridjineth avatar Jan 13 '24 04:01 sigridjineth

you have to use the --listen argument to make it bind to 0.0.0.0

comfyanonymous avatar Jan 13 '24 04:01 comfyanonymous

Python-based web servers aren't really recommended to be run on outward facing networks anyway, according to the python docs themselves. The networking stack wasn't written with security of incoming connections as a consideration.

NeedsMoar avatar Feb 03 '24 05:02 NeedsMoar

you have to use the --listen argument to make it bind to 0.0.0.0

where do we need to change it? im so ssorry for the noob question, but i'm stuck. thank you

Ma0013 avatar Aug 09 '24 16:08 Ma0013

you have to use the --listen argument to make it bind to 0.0.0.0

where do we need to change it? im so ssorry for the noob question, but i'm stuck. thank you

If you are using portable version. Edit run_nvidia_gpu.bat and add --listen 0.0.0.0 after --windows-standalone-build

ltdrdata avatar Aug 10 '24 03:08 ltdrdata