Firewalls block unwanted traffic from reaching your computer. Unfortunately, if they're configured wrong, they can also block your Internet signal.
Firewalls come in hardware and software varieties, and it's not uncommon for people to have one of each running. For instance, you could have a firewall as part of your router setup (hardware) and an additional firewall associated with your antivirus software.
To troubleshoot, try this: