Qlik has great documentation, however it is a bit cumbersome when it talks about networking. Below are the ports needed.

Also, you need to create an inbound and outbound rule. Here is a tutorial. It is much less complicated than it sounds.

Ps. I am not covering HTTP because you shouldn’t do it. Period.

Single Node
ports

Multi Node
I suggest looking at the documentation since there are so many variations depending on the use case.