Cannot connect to LAN server

Hello, me and my friend tried to play aoe 2 de. My friend wanted to join my lan server, but when he searched for LAN server in game, he couldn’t find it. I tried to invite him through Xbox app in game, but it did not want to load itself. It worked perfectly fine on multiplayer, I could invite him with Xbox app. We want to play LAN cuz our internet is ■■■■■■. We both own AoE 2 DE on Microsoft store.