Default port of Gradio apps, including AUTOMATIC1111 Stable Diffusion WebUI.
Default port of Gradio apps, including AUTOMATIC1111 Stable Diffusion WebUI.
Localhost or LAN only. --listen or share links put an unauthenticated app online; extensions can run code. Use --gradio-auth or keep local.
Port 7860 is in the registered range and has no IANA assignment. The usage above is unofficial but widespread.
sudo ss -tlnp 'sport = :7860'sudo lsof -nP -i :7860sudo netstat -tlnp | grep ':7860 'netstat -ano | findstr :7860Get-NetTCPConnection -LocalPort 7860 -State Listen | Select LocalAddress,OwningProcessnc -vz -w 5 HOST 7860Test-NetConnection HOST -Port 7860sudo ufw deny 7860/tcpsudo iptables -A INPUT -p tcp --dport 7860 -j DROPsudo nft add rule inet filter input tcp dport 7860 dropNew-NetFirewallRule -DisplayName 'Block TCP 7860' -Direction Inbound -Protocol TCP -LocalPort 7860 -Action BlockAll port numbers · Open port checker
Assignment data: IANA port number registry (public domain), retrieved 2026-11-10.