Some countries or cities ban Pokemon Go, but your school or office network likely blocked the game on its network. Why they do this is anyone’s guess, but it’s probably to prevent distractions or to conserve data. In either case, you’ll need a VPN to change your IP address and access the game.