Good day.
If you've extended media ports range, and using CDN (or WebRTC pull/push), you should also set a new range for WCS agent ports which are used for that purpose, for example:
media_port_from=20000
media_port_to=40000
wcs_agent_port_from=44001
wcs_agent_port_to=55000
See also the...