Fix dynamic port allocation limit Upstream-commit: 7462cc6479c3a5c2f572bf9fe2bfc60a4f1e2506 Component: engine