# Packages won't install in Julia on company laptop

**URL:** https://discourse.julialang.org/t/packages-wont-install-in-julia-on-company-laptop/92516
**Category:** New to Julia
**Tags:** question
**Created:** [January 4, 2023, 6:35pm UTC](https://discourse.julialang.org/t/packages-wont-install-in-julia-on-company-laptop/92516 "2023-01-04T18:35:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Numerical\_Marmot](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/numerical_marmot/32/45599_2.png) [@Numerical\_Marmot](https://discourse.julialang.org/u/Numerical_Marmot)
#### Post date: [January 4, 2023, 6:35pm UTC](https://discourse.julialang.org/t/packages-wont-install-in-julia-on-company-laptop/92516/1 "2023-01-04T18:35:34Z")

</div>

I am on a Windows 10 laptop and have just installed Julia 1.8.4. When I try to install a package (through Pkg.add() and through “pkg\>”, I get the following error:

```julia
Warning: could not download https://pkg.julialang.org port 443 after 17922 ms: Connection refused while requesting https://pkg.julialang.org/registries
@Pkg.Registry C:\workdir\usr\share\julia\stdlib\v1.8\Pkg\src\Registry\Registry.jl

```

```julia
Cloning registry from https://github.com/JuliaRegistries/General.git
Error: failed to clone from https://github.com/JuliaRegistries/General.git, error: GitError(Code:ERROR, Class:OS, failed to send request: A connection with the server could not be established)

```

This error also arises when I attempt to use Pkg.status(). My hunch is that this is related to the VPN my company is using, but I’m not able to see any information past the error values. I’ll add that I’m able to go to the github registry in my browser, so the website isn’t blocked.  
I’ve done some searching and can’t seem to find a solution - has anyone encountered something similar?

---

<div class="post-metadata">

### Author: ![Oscar\_Smith](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oscar_smith/32/25343_2.png) [@Oscar\_Smith](https://discourse.julialang.org/u/Oscar_Smith)
#### Post date: [January 4, 2023, 6:39pm UTC](https://discourse.julialang.org/t/packages-wont-install-in-julia-on-company-laptop/92516/2 "2023-01-04T18:39:40Z")

</div>

Best guess is a a firewall that is blocking access.

---

<div class="post-metadata">

### Author: ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)
#### Post date: [January 4, 2023, 6:51pm UTC](https://discourse.julialang.org/t/packages-wont-install-in-julia-on-company-laptop/92516/3 "2023-01-04T18:51:57Z")

</div>

Could you try:

```julia
import Pkg
Pkg.Registry.rm("General")
ENV["JULIA_PKG_SERVER"] = ""
Pkg.Registry.add("General")

```

I think this switches the protocol for downloading the registry to git which is often not blocked by companies.
