serve
serve copied to clipboard
serve listens to all interfaces instead of localhost only
Description
It should not expose my files to other people in my wifi network. It is a very serious security issue!
Library version
14.0.1
Node version
v18.10.0
I don't understand why it exposes files outside local host by default.
It's not actually listening on non-loopback interfaces ... at least in version 14.0.1. See https://github.com/vercel/serve/issues/667
It is unsettling that the banner it prints doesn't tell you what it's actually doing.