ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Run front-end locally, back-end in the cloud

Open gregistech opened this issue 1 year ago • 2 comments

Many times my front-end straight up freezes, or hangs. Couldn't this problem be eased out by having the front-end running on my computer and the back-end in the cloud?

gregistech avatar Dec 26 '23 07:12 gregistech

I just learned this hack yesterday. If you deploy the ComfyUI remotely and have SSH access to that machine, you can do this:

ssh -L 8188:localhost:8188 username@remote_host

so that the remote 8188 will be mapped to your local 8188, and you can use ComfyUI as if it is running locally.

liusida avatar May 15 '24 01:05 liusida

@liusida But that does not solve the problem. It just makes the frontend freezing on another computer.

crashr avatar Jul 07 '24 09:07 crashr