diff --git a/pkg/crc/machine/stop.go b/pkg/crc/machine/stop.go index d6db66151b..e355563a2f 100644 --- a/pkg/crc/machine/stop.go +++ b/pkg/crc/machine/stop.go @@ -38,6 +38,10 @@ func (client *client) Stop() (state.State, error) { if err != nil { return state.Error, errors.Wrap(err, "Cannot get VM status") } + // In case usermode networking make sure all the port bind on host should be released + if client.useVSock() { + return status, unexposePorts() + } return status, nil }