Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

0.0.0.0 doesn't work on windows.

comfyanonymouseb5191f911d6
diff --git a/main.py b/main.py
index 21f76b617..07ebbd701 100644
--- a/main.py
+++ b/main.py
@@ -160,6 +160,8 @@ if __name__ == "__main__":
if args.auto_launch:
def startup_server(address, port):
import webbrowser
+ if os.name == 'nt' and address == '0.0.0.0':
+ address = '127.0.0.1'
webbrowser.open(f"http://{address}:{port}")
call_on_start = startup_server