As said in question, I was looking for a way to change default game port (that is 7777) when creating listen server so the port is selected from user interface. I’ve tried to use parameter “listen -port 7778” in open level node but with it server not start listening at all (No message in output log about listen server) and no connection using “open 127.0.0.1:7778” on client.
I know about game shortcut parameter " -port 7777" and thought it will work with open level node but it doesn’t.
is it possible to set ip too? the default is 127.0.0.1 but i want mine as “192.168.15.8”. And on the bundled server, users hosting the server will replace -IP=XXX.XXX.X.X with your IPV4.
I managed to change the port in runtime by utilizing these 2 console commands:
To start server with any port number: open:9999/Game/Folder/Folder/MapName?listen
To connect to this server: open X.X.X.X:9999
/Game/Folder/Folder/MapName - path to your level file, always starting with “/Game” that is basically the “Content” folder in the editor
9999 - not necessarily this one, but any port number