WebUI for Lan #2394
-
How can webui be used by computers on the LAN instead of connecting to 127.0.0.1 through the local network I know that by adding the --share parameter, I can get a WAN domain name to access the WebUI, but I want to access the WebUI through the LAN |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Use --listen instead of --share in your command args. Listen will launch Gradio with IP 0.0.0.0 which will make Gradio listen to other computers on the lan. Then you can fire up the UI with the computer's IP:7860 (or other port if you changed it) in a browser on any computer on the LAN. Be forewarned that Gradio doesn't work so hot with iPad OS when generating more than one image at a time... |
Beta Was this translation helpful? Give feedback.
-
Hi guys I have a question I use a server and did --listen but on none from the 4 private ip addresses shows it the guy do I have to setup something special I just now from other GitHub projects there mostly I was able to just set from localhost:7860 to for example one of my ip address from he server 192.168.50.50:7860! How can I solve my problem? |
Beta Was this translation helpful? Give feedback.
-
i did everything and still my other computer wont connect. Is ther something I can do in the windows firewall settings or my router? |
Beta Was this translation helpful? Give feedback.
Use --listen instead of --share in your command args. Listen will launch Gradio with IP 0.0.0.0 which will make Gradio listen to other computers on the lan. Then you can fire up the UI with the computer's IP:7860 (or other port if you changed it) in a browser on any computer on the LAN.
Be forewarned that Gradio doesn't work so hot with iPad OS when generating more than one image at a time...