Hi newcomer and welcome to the Tom's hardware forum.
1- Windows firewall? and how do u know that isn't working?
2- If it's the windows firewall, follow the Gandalf steps.
3- Some antivirus have integrated firewall and when u install that antivirus program, automatically disable the windows firewall.