Dedicated Server Launcher isn't using ports!

Exactly what the title says. The dedicated server launcher says the ports 7777 and 27015 but this is not written anywhere in the engine where the guide says it should be saved and when I launch through the dedicated server launcher it does not launch through those ports, but rather on my local network?
Anyone know what I need to add to the engine.ini or do to get this fixed?

I’ve been launching the server through the old startserver.bat but I would like to use the dedicated server launcher for this.