I didn't make it!
what are the ports i need to open to host a star wars battlefront 2 server?
None. If you're not using the server manager (I don't know if you need to do it for that), you can just click the start server button ingame and set it up. People started joining after that, so I assumed it wasn't LAN.