For implementing MDM integration, access should be allowed from the Access portal Admin Portal to the MDM server to allow web service API call to get the list of devices managed in MDM and their status.
Port can be configured, but typically use HTTPS.
The diagram below show shows the topology.