Add constraints on port