Sonar Violations and Formatting

This is the second reference to management port, what is it and why is it being removed in this pull request?