How to Access ComfyUI from Local Network
There are two ways to access ComfyUI from your local network, depending on which version you are using:
Method 1: For ComfyUI Desktop Version
- Open ComfyUI Desktop
- Go to Settings -> Server Configuration
- Find the âNetworkâ section
- Change âListen Addressâ from
127.0.0.1
to0.0.0.0
- Keep the default port
8000
(or change it if needed) - Restart ComfyUI Desktop
After these steps, you can access ComfyUI from other devices on your local network using:
http://<host-ip-address>:8000
Replace <host-ip-address>
with your computerâs local IP address (e.g., 192.168.1.100
).
For more details on server configuration, check here
Method 2: For ComfyUI Portable Version
- Locate your
run_nvidia_gpu.bat
file in the ComfyUI folder - Right-click and edit this file
- Find the line that contains
python main.py
- Add the
-listen
parameter with value0.0.0.0
:
python main.py --listen 0.0.0.0
- Save the file and restart ComfyUI
You can then access ComfyUI from other devices using the same URL format:
http://<host-ip-address>:8188
Note that the portable version uses port 8188
by default.
Finding Your Local IP Address
On Windows:
Method 1: Using Command Prompt
- Open Command Prompt
- Type
ipconfig
- Look for âIPv4 Addressâ under your network adapter
Method 2: Using Settings (GUI)
- Open Windows Settings
- Go to Network & Internet
- Click on âPropertiesâ under your active network connection
- Find âIPv4 addressâ in the network properties
On macOS:
Method 1: Using Terminal
- Open Terminal
- Type
ifconfig
orip addr
- Look for âinetâ followed by your IP address
Method 2: Using System Preferences (GUI)
- Click the Apple menu and select âSystem Preferencesâ
- Click âNetworkâ
- Select your active connection (Wi-Fi or Ethernet) from the left sidebar
- Your IP address will be displayed in the status area on the right
Security Considerations
- This setup makes ComfyUI accessible to all devices on your local network
- Only enable this if you trust all devices/users on your network
- Consider using the HTTPS setup for better security
- You can restrict access by configuring your firewall settings
ComfyUI Fast Groups Alternatives and Usage GuideHow to Change Font Size in ComfyUI: Step-by-Step Guide