Can FiveM play in LAN without Internet connection?

Can FiveM play in LAN without Internet connection?
When I connet to my server I just can see 3 dot moving,my friends are the same.

Does anyone know what’s happen?

Disable the server listing in your server config, then in FiveM, you click on direct connect, enter your IP + port and that should work.

Maybe you need to allow the port in the firewall