Hello Martin, I'm sorry, but I don't know what you want to do exactly. Could you explain your use case a little more? But keep in mind, that Applications snapped using strict confinement have no network access by default. With interfaces an installed snap gets access to system resources. Interfaces that are required for normal operation are specified at snap build-time within the app metadata of a snap’s snapcraft.yaml. The network interface allows all outbound network access from the application as a client. Should the application bind to a port, for example to run a server, then the network-bind interface should also be used. See for example the webserver sample in go from the SDK. And its snapcraft.yaml: …
apps:
my-server:
command: ./bin/webserver
plugs:
- network
- network-bind
- network-status
- active-solution
daemon: simple
… Further information: snapcraft.io - Adding interfaces snapcraft.io - Network Interface Best regards, Nick
... View more