Stable Diffusion 开通局域网访问时,需要用 –listen –port xxx 指定监听端口
1
2
3./webui.sh --listen --port 8080 --enable-insecure-extension-access
# --listen --port:通过8080端口提供服务
# --enable-insecure-extension-access:允许安装不安全的扩展还有一种办法供外部访问的方式是通过 –share 参数,这样会通过gradio.live随机生成一个网址3天有效期,不如局域网安全。
1
2
3./webui.sh --share --enable-insecure-extension-access
Running on public URL: https://afaaaaa22bb215cd6.gradio.live
This share link expires in 72 hours. For free permanent hosting and GPU upgrades, run `gradio deploy` from Terminal to deploy to Spaces (https://hugg。。。