You can verify that it’s the Avast firewall that’s the problem by disabling it. If that fixes your problem, follow Eddy’s advice.