lllyasviel / stable-diffusion-webui-forge

GNU Affero General Public License v3.0
8.61k stars 850 forks source link

How to get a remote connection? #2222

Open Joeyd348039 opened 3 weeks ago

Joeyd348039 commented 3 weeks ago

I put --listen in the webui bat file. But my ipad still can't connect to the url.

I did see that it says I need to add share=true but it doesn't say in what file I need to do that in.

ruSauron commented 3 weeks ago

Copy run.bat and modify from

cd %~dp0webui
call webui-user.bat

to

cd %~dp0webui
set COMMANDLINE_ARGS= --autolaunch --theme=dark --listen --share
call webui-user.bat
Giribot commented 2 weeks ago

Not really a solution but a workaround: I personally use Chrome remote desktop. https://remotedesktop.google.com/access/

Sorry for this bad solution

shaun-ba commented 2 weeks ago

--listen is incorrect, you need to use --server-name=0.0.0.0

Only do this if you know what you are doing, and have firewalls correctly set up.