Launching Client / Server in Unreal 5.1 (and a bat tool I made to help)

I struggled getting the server/client to connect in UE 5.1 until I went through all the various options people recommended (mainly it was adding ?listen to a server that was preventing it from working correctly, so don’t do that).

For me the final commands were:


<EDITOR> <UPROJECT> /Game/ThirdPerson/Maps/ThirdPersonMap -server -log


<EDITOR> <UPROJECT> -game -log

Port might depend on what your UE defaults to, but the localhost IP should work for LAN.

Lastly, I’m not sure how often we’ll be launching this way throughout the course but I couldn’t resist spending a bunch of time making a very simple bat file to launch UE for me as Standalone, Server, Host, or Client, that you can get here:

Save it in a text file and change the extension to .bat and you should be good to go. I’m not a bat wizard, but it’s pretty straightforward and should be easy to change the path variables to reflect your particular setup.


Thanks for sharing

Good info.

Privacy & Terms