For Endpoint Central MSP on-prem,
- 8040: Used for agent-server communication and to access the Web console
- 8057: Used to complete on-demand tasks like inventory scanning, patch scanning, remote control, remote shutdown and moving agents from one remote office to another