krita-ai-diffusion icon indicating copy to clipboard operation
krita-ai-diffusion copied to clipboard

Allow plugin-hosted ComfyUI Server to listen on all interfaces

Open jhbruhn opened this issue 8 months ago • 1 comments

The ComfyUI instance started via this plugin currently only listens on localhost. This way, it is not reachable from other clients in the same network. If it would listen on all interfaces (--listen 0.0.0.0), it would also be available for other clients in the network, for example when working from a laptop, but wanting to use a desktop PC with strong GPU for the models.

This could be solved in two ways: Either always listen on all interfaces, which is simple, but might pose some kind of security risk, or add an optional checkbox to the UI which enables the listening on all interfaces. Before I open a PR with an implementation of either of this, I want to open the discussion on which method would be best for the plugin.

jhbruhn avatar Nov 26 '23 10:11 jhbruhn