By default ComfyUI only listens on your own computer (127.0.0.1, port 8188), so other devices and the internet cannot reach it. To open it from a phone or another computer on the same network, start ComfyUI with --listen and browse to http://<the computer's local IP>:8188. For access away from home, use an authenticated private network such as a VPN or tailnet instead of forwarding the port.
The short answer
Run ComfyUI on the computer that has the models and compute, place that computer and your phone in an authenticated private network, and allow only the users and port required for the interface. The phone opens the private address; the ComfyUI service does not need a public IP or an unauthenticated router port forward.
On the same trusted Wi-Fi network, ComfyUI’s documented listen option can make the interface reachable on the LAN. For access away from home, use a private VPN or tailnet you administer, or a hosted service designed with authentication. Do not turn a LAN setup into public access by forwarding the ComfyUI port directly from your router.
ComfyUI's default IP address and port
ComfyUI's startup flags documentation lists two defaults: --listen is 127.0.0.1 and --port is 8188. That is why a fresh install opens at http://127.0.0.1:8188 and only the computer running it can load the interface.
Use --port to pick a different port, for example when 8188 is already taken. Run python main.py --help in your ComfyUI folder to see every flag your installed version supports.
Access ComfyUI from another computer or phone on your network
Start ComfyUI with --listen. The docs say that --listen without a value listens on all network interfaces; you can also pass a specific address. On the Windows portable build, the docs show adding --listen to the launcher .bat file, after which the console reports the GUI at http://0.0.0.0:8188.
Find the host computer's local IP address (the portable-build docs use ipconfig on Windows), then open http://<that IP>:8188 in the browser on your phone or second computer. Both devices need to be on the same network, and the host's firewall has to allow the connection. Only do this on a network you trust, and never forward that port from your router.
Does ComfyUI use the internet?
Generation with local models runs on your own computer, and the server is not reachable from outside unless you configure it that way. ComfyUI is not fully offline by default, though: its documentation describes Partner Nodes as paid API nodes, and an --offline flag that stops the frontend from communicating with the internet by adding a restrictive Content-Security-Policy.
Use --disable-partner-nodes if you only want to turn off the paid API nodes, or --offline for the stricter mode. Downloading models, custom nodes, or updates is also internet traffic, so check what each custom node does before installing it.
PhoneDiffusion generates on-device on iPhone or iPad, with optional cloud models. Download on the App Store →
Why direct port forwarding is the wrong default
A public port makes the service reachable by internet scanners and anyone who discovers the address. Depending on the installation, an exposed interface may reveal workflows, prompts, previews, uploaded images, model names, queue actions, custom-node behavior, or API functions.
Adding an obscure port number or hard-to-guess URL is not authentication. If public access is truly required, place the service behind a maintained reverse proxy, TLS, strong authentication, authorization, rate limits, logging, patching, and a clear threat model. Most personal remote workflows do not need that exposure.
A private-network pattern
Install the private-network client on the ComfyUI computer and the phone. Confirm both belong to the intended account or organization, then restrict access so only the required user or device can reach the ComfyUI port. Tailscale Serve is one example that routes an internal web service to authorized tailnet devices while applying tailnet access controls.
Bind ComfyUI only as broadly as that design requires. A private overlay network does not excuse an allow-all policy: review member access, shared devices, expired accounts, device approval, and whether the service should be reachable by every device in the network.
Test the boundary before using private images
First test with non-sensitive content. From mobile data or another external network, confirm the private path works. Then disable or sign out of the private-network client and verify that the same address and port are no longer reachable. Check the router for an accidental port-forward rule and the host firewall for overly broad access.
Review ComfyUI and custom-node logs for requests from unexpected addresses. Keep the operating system, ComfyUI, custom nodes, reverse proxy if used, and private-network client updated. Remove unused nodes and credentials instead of leaving them available behind the network boundary.
Know what still leaves the phone
Remote ComfyUI is not on-device generation. Prompts and source images travel from the phone to the ComfyUI computer through the selected network path; outputs travel back. A private connection protects transport and reachability according to its configuration, while the host still stores or processes the data.
Cloud backup, browser downloads, shared folders, custom nodes, third-party APIs, and model-download tools can create additional data paths. Audit the complete workflow rather than treating a VPN label as a universal privacy guarantee.
PhoneDiffusion availability and article scope
PhoneDiffusion does not run ComfyUI or host, proxy, or authenticate a ComfyUI server. Its local workflows run on iPhone or iPad with curated on-device model packs after required downloads; its optional cloud models (paid monthly or yearly plans) send a text prompt to PhoneDiffusion’s AI provider, not to a server you run.
Use remote ComfyUI when you need desktop graphs, arbitrary compatible models, custom nodes, or server compute. Use PhoneDiffusion when the supported on-device workflow and simpler local boundary are the better fit.
Field notes
- ComfyUI listens on 127.0.0.1:8188 by default; --listen makes it reachable from other devices on your network.
- Prefer an authenticated private network over exposing the ComfyUI port to the public internet.
- Restrict access by user, device, and port; an overlay network with an allow-all policy is still too broad.
- Test that access fails when the private connection is disabled before uploading sensitive material.
Try it on your phone
- Verify ComfyUI locally at http://127.0.0.1:8188 on the host computer and save a known-working workflow.
- For use on your home network, restart ComfyUI with --listen and open http://<host local IP>:8188 from the phone.
- Install a maintained private-network client on the host and phone.
- Allow only the required identity and ComfyUI port through the private access policy and host firewall.
- Connect from an external network with non-sensitive input, then disconnect the private client and verify access fails.
- Remove router port forwards, review logs, and keep the host, ComfyUI, nodes, and network client updated.
Sources and verification
Primary and maintainer documentation checked for this guide. Product-specific details were reviewed against the current PhoneDiffusion scope.
- ComfyUI: official documentationOfficial overview of ComfyUI as a node-based interface and inference engine, including local and cloud operation.
- ComfyUI documentation: Startup flagsOfficial list of ComfyUI server flags, including the --listen (127.0.0.1) and --port (8188) defaults, --offline and --disable-partner-nodes.
- ComfyUI: local-network setup for the portable buildOfficial instructions showing that another device can access a ComfyUI server on the local network by enabling its listen option.
- Tailscale: private access to a local web serviceMaintainer documentation for making a local web service available only to authorized devices in a private tailnet.