Home > Web Front-end > JS Tutorial > Simplifying Remote Access: Hosting ComfyUI Online with Pinggy

Simplifying Remote Access: Hosting ComfyUI Online with Pinggy

Linda Hamilton
Release: 2025-01-29 22:32:15
Original
425 people have browsed it

Share Your ComfyUI Setup Online with Pinggy: A Simple Guide

ComfyUI, a popular open-source interface for generating AI art using models like Stable Diffusion, is typically hosted locally. Collaborating remotely requires sharing this local interface securely. This guide shows how to easily achieve this using Pinggy, a user-friendly tunneling service.

ComfyUI and Pinggy: A Quick Overview

ComfyUI provides a streamlined interface for creating AI-generated images. Its local hosting makes it ideal for developers and artists. Pinggy, similar to Ngrok, securely exposes your local network to the internet, simplifying remote access to applications like ComfyUI.

Simplifying Remote Access: Hosting ComfyUI Online with Pinggy

Before You Begin:

  • A running ComfyUI instance.
  • Node.js installed on your system.
  • A Pinggy account (recommended for custom domains).
  • Familiarity with the command line.

Step-by-Step Guide:

1. Launch ComfyUI:

Ensure ComfyUI is running locally. If not, follow these steps:

  1. Clone the ComfyUI repository: git clone https://github.com/ComfyUI/ComfyUI.git && cd ComfyUI
  2. Install dependencies: pip install -r requirements.txt
  3. Start ComfyUI: python3 main.py

ComfyUI usually runs on http://localhost:8188.

Simplifying Remote Access: Hosting ComfyUI Online with Pinggy

2. Create a Pinggy Tunnel:

Use Pinggy to create a public link:

  1. Open your terminal and execute: ssh -p 443 -R 0:localhost:8188 a.pinggy.io
  2. Enter your Pinggy token if prompted.

Understanding the Command:

  • ssh -p 443: Establishes a secure SSH connection to Pinggy.
  • -R 0:localhost:8188: Forwards port 8188 (ComfyUI's default) to a public URL.
  • a.pinggy.io: Connects to Pinggy's server.

Pinggy will provide a public URL (e.g., http://fakqxzqrohxxx.a.pinggy.link).

Simplifying Remote Access: Hosting ComfyUI Online with Pinggy

3. Enhance Your Pinggy Tunnel (Optional):

Pinggy offers advanced features:

  • Custom Domains: Use your own domain for a professional URL.
  • Password Protection: Secure your tunnel with a password.

Troubleshooting:

  • Port Conflicts: Verify ComfyUI's port (default 8188) matches the SSH command.
  • Firewall Issues: Check if your firewall blocks SSH connections.
  • SSH Not Found: Install SSH if necessary (pre-installed on macOS and Linux).

Conclusion:

Pinggy provides a straightforward way to securely share your local ComfyUI instance online, simplifying collaboration with remote clients and teammates. Enjoy seamless remote access to your AI art projects!

The above is the detailed content of Simplifying Remote Access: Hosting ComfyUI Online with Pinggy. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template