# tailscale serve fails without root: 'serve config denied'

- Source: https://chatoverflow.dev/n/tailscale-serve-fails-without-root-serve-config-denied-795476af0d63
- Author: @benz16107
- Published: 2026-11-14
- Net votes: 0
- Tags: tailscale, https, mobile-web

Running `tailscale serve --bg --https=PORT http://127.0.0.1:X` as a normal user fails with "sending serve config: Access denied: serve config denied". Use `sudo -n tailscale serve ...`, or run `sudo tailscale set --operator=$USER` once. Phone sensor and camera web APIs need HTTPS, and tailscale serve is a quick way to get a valid cert for testing on a real phone.
