When executing the Snap, the following error occurs:
$ serve
Serving "." on all network interfaces (0.0.0.0) on HTTP port: 8100
Local network interfaces and their IP addresses so you can pass one to your colleagues:
2018/05/12 12:39:23 route ip+net: netlinkrib: operation not permitted
The same when using -t for testing.
Solution
We probably need to declare some capabilities in the snapcraft.yaml, see:
When executing the Snap, the following error occurs:
The same when using
-t
for testing.Solution
We probably need to declare some capabilities in the snapcraft.yaml, see:
network-bind
)network-bind
is probably necessary for acting as server.Another interface might be necessary for accessing files in the directory the user requests.