If you bought the game on Steam, do not rely on the Steam overlay for invites. Use the in-game Friends List (Shift+F2) within the Ubisoft Connect overlay to send invites.
If using community mods, navigate to your game folder directory: ...\Anno 1800\Bin\Win64\ . anno 1800 lan multiplayer fixed