I have to wonder if your port numbers are too high at 50XXX. The 24Retail tm1s.cfg has the following comment:
"# When you install a TM1 server, the default port number is 12345. Valid port values are between 5000 and 49151"
But then it promptly went ahead and used a 50xxx port numbers for 24Retail. Go figure. The comment could be from 10+ years ago, but it is still in the 24Retail TM1s.cfg file... twice.
Ports 49152–65535 on Windows are in the "ephemeral range" of ports meaning the OS might just grab one for some outbound activity. The OS automatically hands out ephemeral ports for outbound client connections. If your DB listens on, say, 55000, and the OS also tries to use 55000 for a client’s outbound connection, you can hit binding conflicts.  Are client tools being used on the server?