Minecraft server bug

I have new minecraft server, hosted in my own house on my servers. When I just join the server I can’t move and all i see is the sky and a few mobs.

It loads in a few mobs and then I get disconnected for some reason. It says “an existing connection was forcibly closed by the remote host” when i get kicked of my server.

My friends don’t have this problem on this server but it does happen for my brother and me, I have no idea what is going on.