Is port forwarding needed for lan

I’m trying to set up a server on my PC to play with my brother on the same network. I just wanted to ask if I need to port forward since its all on the same network.

You should not need to forward a port in this case. Your firewall may block the connection, but the router should not