In previous versions of QQ, the port used by the client was 4000. If you open the second and third QQ, open the ports of 400 1 and 4002 in turn.
The current version of QQ client uses port 5000. If you open the second and third QQ, ports 500 1 and 5002 will be opened in turn.
Analogy.