What ports does ptero need?

What ports need to be open for pterodactyl panel? I know I can use cloudflare tunnels to be able to not open 80 and 443 but if the wings server is on the same as the panel does that mean I can close the ports for wings or do they need to be open?
Was this page helpful?