It would work because Avast won't check Minecraft for suspicious activity. Then you can open the Minecraft server with ease.