Can't find a created session

I have nearly the same code and it didn’t work for me either.
When working within the editor I always find 0 sessions.
But when I baked a development build it was suddenly finding the other sessions. Maybe there is a bug in the editor. Many networking related things work different in editor.