Problems with Multiplayer!

When I create a session on the server side it also creates it on the client side, but when I create a session the client side it doesn’t create in the server side.

How do I prevent the server from creating a session on his side and on the client?

You are not supposed to create sessions on both sides. The hosting player should create a session, other players should join the session.