Could be either a pop-up from your firewall and you told it to block internet.........
Or most likely the pop-up was a trojan, try scanning your pc with malwarebytes www.malwarebytes.org (download it from another machine and copy it through network or with a pendrive since you can't browse on the problematic pc).