Blueprints · AI & LLMs
Beginner
10 min · Local AI
ComfyUI on localhost
Stages a ComfyUI listen address of 127.0.0.1. The process is not started.
Why this should not be public
ComfyUI has no authentication, and custom nodes run code. A public instance lets anyone queue workflows and install nodes on your GPU host.
Live config
Baked-in protections
- The listen address is 127.0.0.1
- The command is not started
- A public 8188 is an unauthenticated UI
Step 1 · bash
Start command
/root/portgate-blueprints/comfyui-start.sh
Run this from the ComfyUI checkout you already cloned.
#!/bin/sh set -eu cd "/opt/ComfyUI" python3 main.py --listen 127.0.0.1 --port "8188"
Step 2 · bash
Read-only check
/root/portgate-blueprints/comfyui-check.sh
Prints status. It does not change the service.
#!/bin/sh set -eu ss -tulpn | grep "8188" || echo "Nothing is listening on 8188."