Replies: 4 comments
-
In addition to ngrok, you can also use Cloudflared to establish tunnel connections. How it worksCloudflared establishes outbound connections (tunnels) between your resources and Cloudflare’s global network. Tunnels are persistent objects that route traffic to DNS records. Within the same tunnel, you can run as many cloudflared processes (connectors) as needed. These processes will establish connections to Cloudflare and send traffic to the nearest Cloudflare data center. Get StartedTo create and manage tunnels, you will need to install and authenticate cloudflared on your origin server. cloudflared is what connects your server to Cloudflare’s global network. |
Beta Was this translation helpful? Give feedback.
-
suggest update ngrok website setting, the endpoint will always change to new one. i have to add to comfyflow.app every time. |
Beta Was this translation helpful? Give feedback.
-
sure, start ngork tunnel with edge is better. |
Beta Was this translation helpful? Give feedback.
-
Sharing the port of a ComfyUI instance publicly poses some security risks. If ComfyUI-Manager is installed on this ComfyUI, others may install or uninstall custom nodes, rendering the entire ComfyUI instance unusable. Therefore, ComfyFlowApp will no longer support binding private ComfyUI instances on comfyflow.app. If you want to share a local application with external users, you can use cloudflared to map the port of comfyflowapp, which will be more secure. |
Beta Was this translation helpful? Give feedback.
-
This document will explain how to share your local ComfyFlowApp with public users through ngrok.
Overview
Installation Steps
Once it's running, your endpoints will be listed on the endpoints page, e.g., https://35d3-2408-8207-2539-a7b0-3988-7bd0-6a4c-2d4e.ngrok-free.app/.
Application Development
Using Rui's CuteYou workflow as an example, it contains 7 ComfyUI nodes and 92 custom nodes, as shown in the image below.
Create a web application, upload an image generated by the workflow, and configure the relevant input parameters and output results as shown in the image below.
(1) Preview the application locally to test if it's working correctly.
(2) Bind ngrok's endpoint to comfyflow.app
On https://comfyflow.app/, create a ComfyUI Node and activate your access permissions with a key.
(3)Publish the application
Creators can publish the application to the bound endpoint from their local ComfyFlowApp.
After users activate their Access Key, they can access the application published at the endpoint via https://comfyflow.app/ (public network).
Beta Was this translation helpful? Give feedback.
All reactions