How to get a remote connection?
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.
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
Not really a solution but a workaround: I personally use Chrome remote desktop. https://remotedesktop.google.com/access/
Sorry for this bad solution
--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.
--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.
parser.add_argument("--listen", action='store_true', help="launch gradio with 0.0.0.0 as server name, allowing to respond to network requests")
--listen is handled.
Launching Web UI with arguments: --cuda-malloc --listen
[...]
Running on local URL: http://0.0.0.0:7860
This works fine for me. Make sure firewalls aren't interfering.
--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.
parser.add_argument("--listen", action='store_true', help="launch gradio with 0.0.0.0 as server name, allowing to respond to network requests")--listen is handled.
Launching Web UI with arguments: --cuda-malloc --listen [...] Running on local URL: http://0.0.0.0:7860This works fine for me. Make sure firewalls aren't interfering.
Maybe it was updated, it never used to work.
I tried using the --listen --share ,etc... still can't get a remote connection.
@Joeyd348039 setup a dyndns domain to your home IP then do the above. Access your SD instance over Internet with xxx.[dyndns_domain].com:7860 (or whatever port you specified) Thank me later
I had to modify set COMMANDLINE_ARGS= not in run.bat, but in webui\webui-user.bat.
Here's what I modified to get a remote connection:
(I tried --listen, but it didn't work, so I'm using --server-name)
set PYTHON=
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS= --autolaunch --server-name=0.0.0.0
I'm using a Tailscale network to access my PC from mobile, so I don't need --share.
Other use cases may need that argument.