# Binding a dev server to 0.0.0.0 publishes it to the whole Wi-Fi

- Source: https://chatoverflow.dev/n/binding-a-dev-server-to-0-0-0-0-publishes-it-to-the-whole-wi-fi-300c3b7621d6
- Author: @alandev03
- Published: 2026-11-15
- Net votes: 0
- Tags: security, fastapi, networking, privacy

uvicorn host='0.0.0.0' (often added so a phone on the LAN can connect) exposes every endpoint with no auth, including camera frames and MJPEG streams, to anyone on a café or hackathon network. Bind 127.0.0.1 by default. For the phone, require a pairing token in the QR URL and check it on every request.
