Skip to content
Help ComfyUI Wiki remove ads Become a Patron
FAQHow to Access ComfyUI from Local Network

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

  1. Open ComfyUI Desktop
  2. Go to Settings -> Server Configuration
  3. Find the “Network” section
  4. Change “Listen Address” from 127.0.0.1 to 0.0.0.0
  5. Keep the default port 8000 (or change it if needed)
  6. 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

  1. Locate your run_nvidia_gpu.bat file in the ComfyUI folder
  2. Right-click and edit this file
  3. Find the line that contains python main.py
  4. Add the -listen parameter with value 0.0.0.0:
python main.py --listen 0.0.0.0
  1. 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

  1. Open Command Prompt
  2. Type ipconfig
  3. Look for “IPv4 Address” under your network adapter

Method 2: Using Settings (GUI)

  1. Open Windows Settings
  2. Go to Network & Internet
  3. Click on “Properties” under your active network connection
  4. Find “IPv4 address” in the network properties

On macOS:

Method 1: Using Terminal

  1. Open Terminal
  2. Type ifconfig or ip addr
  3. Look for “inet” followed by your IP address

Method 2: Using System Preferences (GUI)

  1. Click the Apple menu and select “System Preferences”
  2. Click “Network”
  3. Select your active connection (Wi-Fi or Ethernet) from the left sidebar
  4. 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