Ports for the things stack

Hello, can someone tell me what are all the ports that The Things Stack 3 needs to have open in order to work?
in the router

It depends, so I can’t give you an exact answer.

If you only want to use The Things Stack from inside your local network, you don’t need to open any ports in your firewall. If you want to use The Things Stack from outside your network, the list of ports depends on which functionality of The Things Stack you want to access from outside your firewall.

It also depends on how you configured your deployment. Most deployments create port mappings for the Console (they map port 1885 to port 80 and map port 8885 to port 443).

You can find more information about the ports that The Things Stack uses on the documentation site: Networking | The Things Stack for LoRaWAN