>It is recommended that you change the external port via the docker run command not within the [magicbane.conf](http://repo.magicbane.com/MagicBane/Server/wiki/magicbane.conf) configuration file. Docker will automatically route ip traffic through the bridge to the correct interal port. MagicBox uses three ports. 5000 is used for a debugger or profiler. 6000 is used for the login server. 8000 is used for the world server. If behind a NAT/router the user must open these ports on his router or configure a DMZ.
>It is recommended that you change the external port only via the docker run command not within [magicbane.conf](http://repo.magicbane.com/MagicBane/Server/wiki/magicbane.conf). Docker will automatically bridge traffic to the correct interal port. MagicBox uses three ports. 5000 is used optionally for a debugger or profiler. 6000 is used for the login server. 8000 is used for the world server. If behind a NAT/router the user must open these ports on his router or configure a DMZ.
Below is the script the MagicBane team uses to cycle MagicBox in testing.