I don't know how to pass the game server port via command args to my ue4 game server.
I found one way and that is getting game port through GSDK. I do this logic in Game Instance but i don't know what overrides these settings and I don't know how to prevent it. I dig so much into unreal source code but I could not find a clue.
so please if anybody knows how should I do this please help me.