What Is the ComfyUI Default Port?

Back
Team Aquanode

Team Aquanode

Ansh Saxena

NOVEMBER 13, 2026

ComfyUI's default port is 8188, bound to 127.0.0.1, so the UI is at http://127.0.0.1:8188 and only the machine itself can reach it.

Change the port

python main.py --port 8190

Let other machines connect

By default ComfyUI listens only on 127.0.0.1. The --listen flag takes an address; with no argument it listens on all IPv4 and IPv6 addresses:

python main.py --listen 0.0.0.0 --port 8188

ComfyUI's security policy is explicit that the localhost default is part of its threat model: anyone who can reach the ComfyUI URL is trusted, and exposing it with --listen makes securing it (firewall, reverse proxy, authentication) your responsibility. Do not open the port to the internet without something in front of it.

The same port serves the HTTP API: see how to use the ComfyUI API. For a first run, see how to use ComfyUI.

If you would rather not set the machine up yourself, the ComfyUI template on Aquanode provisions the box, installs ComfyUI and starts it when you deploy it; once the deployment is Ready, the Overview tab shows the ComfyUI URL.

Sources

#comfyui questions#comfyui install

ComfyUI on our compute

Rent a GPU with ComfyUI already installed. Your custom nodes and models are there next time. $29 a month, or pay as you go.

Start ComfyUI

Start ComfyUI on a rented GPU.

Sign up in 60 seconds. Pay for the GPU minutes you actually use.

© 2026 Aquanode. All rights reserved.

All trademarks, logos and brand names are the property of their respective owners.