Which port use JAMI application ? Are there risk associated on UPnP?

Hello everybody,
I just want to know which ports to open in order to run JAMI. (which is the minimal number of port to be open)
I also want to know which security risk is implies by opening UPnP. It seem to be risky for the user (As I see lot of recommendations say not use UPnP)

Thanks for your answers