ComfyUI is a portable, locally run interface commonly used for AI-simulated art generation with models like Stable Diffusion. When collaborating with remote clients or teammates, you might want to make this locally hosted UI accessible via the internet. This is where Pinggy, a fast and effective tunneling service, helps by allowing you to share your local setup using a public link.
Run ComfyUI
git clone https://github.com/ComfyUI/ComfyUI.git
cd ComfyUI
pip install -r requirements.txt
python3 main.py
Create a Tunnel with Pinggy
ssh -p 443 -R0:localhost:8188 a.pinggy.io
In this guide, we’ll walk through how to use Pinggy to make your ComfyUI instance accessible online.
ComfyUI is an open source web interface primarily developed for AI generated image creation usually utilizing some models such as Stable Diffusion. They are easy to use with the ability to host locally, thus making them suitable for developing as well as perfecting pieces of art. This interface is commonly employed by artists, researchers, and developers working with generative AI.
Pinggy is a tunneling solution similar to Ngrok, which lets you expose your local network to the internet securely. It’s easy to use, and you don’t need extensive configuration—perfect for accessing local applications, web UIs, or APIs from remote locations.
Before we begin, make sure you have:
If ComfyUI is not already running, follow these steps:
Clone the ComfyUI repository:
git clone https://github.com/ComfyUI/ComfyUI.git
cd ComfyUI
Install dependencies:
pip install -r requirements.txt
Start ComfyUI:
python3 main.py
By default, ComfyUI will start at http://localhost:8188
.
To expose your locally hosted ComfyUI instance, use Pinggy’s SSH tunneling command:
Open a terminal and enter:
Replace 8188
if ComfyUI is running on a different port.
ssh -p 443
: Establishes a secure connection to Pinggy’s server over port 443.-R0:localhost:8188
: Connects your localhost to Pinggy’s server, forwarding the ComfyUI server.a.pinggy.io
: Directs the command to Pinggy’s server.After executing, Pinggy will generate a public URL for your ComfyUI instance, which might look like:
http://fakqxzqrohxxx.a.pinggy.link
https://fakqxzqrohxxx.a.pinggy.link
Pinggy provides additional options to enhance privacy and control over your tunnel, perfect for securely sharing ComfyUI:
For more, refer to Pinggy’s documentation.
If you run into issues with the Pinggy tunnel or ComfyUI setup, try these solutions:
Pinggy helps share your ComfyUI instance online instantly, and securely to perform AI projects in cooperation with other users without complicated configurations. In this manner, utilizing Pinggy’s tunneling options, you could grant dependable, restricted connectivity on your ComfyUI to your coworkers and customers, wherever they’re placing.