Ok, the firewall seems to be the problem, not the antivirus. I'm not sure which version of bitdefender you are using (I'm using 2015 total security). On my version you just select protection, then select firewall, and then just click the blue check mark next to firewall and it should disable it.