Avast blocking my lan server in minecraft

I am trying to play with a friend on a LAN server hosted by me, but Avast keeps blocking them from connecting.

i think one of these is the issue, but didn’t know how to solve it.

From your screenshot it shows a Public connection, which are generally Untrusted..

Is this LAN Server connected to your home Network is set to Private and in most Home systems.

See my - Network Inspector settings.