As host network is not for Windows, you need to use docker commands to modify HTTP and HTTPS ports.
Now, if we use HTTP port 80, HTTPS port 443, and we want to change 80 to 44, 443 to 344, UDP port group to 7900-8000.
-
stop control-hub container
docker container stop control-hub
-
re-create control-hub
docker run --name control-hub -it -v d:\data:/data -v d:\log:/log -p 44:80 -p 1935:1935 -p 344:443 -p 7900-8000:7900-8000/udp -v //var/run/docker.sock:/var/run/docker.sock --restart unless-stopped -d magewell/control-hub:2.1.51