I have noticed mIRC has a problem when it is running for a longer time (2 week+) to remember what is set in options for DCC ports.
I have set 5 ports in the 5000 range and that works fine for several days but after a while (approx 2 weeks) mIRC desides to use just random ports and ignores what I have set.
The ports are still set in the mIirc.ini and also show up in options.. but when I try to /dcc mIRc tries to use random ports (1064, 1138, 1235, etc)
When I /exit mIRC and reopen all will be OK again for the next ... days.