When I try to join my friend's world using LAN, I get an error which is io.netty.channel.abstractchannel$annotatedconnectexception permission denied no further information. When they want to join my world it shows connection time out. We are using zerotier for multiplayer. It was working previously then suddenly everything stopped working so it is not zerotier's problem. My friends can join among themselves and it's just me that couldn't join so I assume it is the problem of my laptop.
I have tried
1. Allowing Java, Minecraft and zerotier in firewall
2. Disabling firewall and antivirus.
3. Reinstalling Minecraft and zerotier
4. Resetting network adapters