Find Sessions not finding session in LAN

Hi, i created a simple blueprint with the function “find sessions” in it, when i launch it in my computer with 2 players, then the find sessions works perfectly, but when i run the second player on another computer in LAN, it does not find the session.
i also added:

[OnlineSubsystem]
DefaultPlatformService=LAN

in the DefaultEngine.ini and i can connect to the server using console commands.

Hi, did you ever find a solution to this problem?

Hey, bumping this, did you ever find a solution?

You need to create a session and set “Use LAN”,

https://docs.unrealengine.com/latest/INT/Engine/Blueprints/UserGuide/OnlineNodes/

Create Session node will register server to online service (if you use any) and/or this also should start up LAN beacon which will listen to multicast packets from clients that will search for the game.

This should work regardless of online subsystem you use, as online services don’t effect your LAN in anyway. You should use NullOnlineSubsystem if you want IP entry only and LAN only, but keep in mind “find session” in null works only over LAN since there is no multicasting over Internet and without some online service that lists servers there no way to find servers over internet.

Shdowriver can you confirm that this works when using multiple computers in a LAN? I’ve used the Create Session node and even when LAN is set to true, another computer in the LAN will not be able to find the server (using the find sessions node). However when the “Number of Players” is increased on a single PC, the second player will be able to find the server.

Then “Number of Players” probably is server player limit and you solved problem yourself. I never played with UE4 network multiplayer so im not 100% sure

For my game the server player limit is increased by a player manually before they create the session so it can’t be that. Thanks for the help anyway!

I found solution of this problem in this post.

I thought it was supposed to be this for LAN-only:

[OnlineSubsystem]
DefaultPlatformService=NULL

Does setting it to LAN instead work better?