Particular port to disable stream isolation?

I have a program that makes a lot of connections, which means I don’t want sys-whonix making a new Tor circuit for each one (as they’re all inherently related anyway). What port combined with sys-whonix’s IP can I redirect this program to (in a completely separate VM from whonix) to make sure it just uses one circuit for all of the connections the program makes? Or what other way is there to do it?

It’s mostly a Tor specific question as per
Free Support for Whonix ™.

After having the answer on how to configure Tor in such as way, applying
that configuration in Whonix should be the trivial part of it.