⌨️sandbox.network.allowLocalBinding
Also known as allowLocalBinding
The key that lets fenced commands on a Mac start a server.
Think of it like
It is like letting a child set up a stand in the yard. Now people can come to it.
Example
Lucy's dev server would not start under the sandbox on her Mac. She turns this key on, and npm run dev works.
Why it matters
Many tests start a small server, and they fail when they cannot listen on a port.
Definition
Example code
json
{
"sandbox": {
"network": {
"allowLocalBinding": true
}
}
}Common mistake
Key takeaways
- 1Listen on a port. Dev servers.
- 2macOS only. Not Linux.
- 3Off by default. false.