I discovered that my MiKTeX installation (on a Windows 10 computer) is unable to connect to the package and/or update servers after installation. What's more, when I attempt to update or add a package, the list of "Remote Package Repositories" shown to me is empty.

Downloading the packages I want into a local repository and installing them from there is also impossible, since running miktexsetup also results in a "Couldn't connect to server" error.

My first suspicion was that this was some kind of issue with my Firewall. However, after I had added exceptions for "miktex-console.exe" to the Firewall I still had the same problem.

What could be the cause of this?

closed as off-topic by Mensch, user156344, Stefan Pinnow, Raaja, user36296 Mar 10 at 12:19

  • This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Welcome to TeX.SE! – Mico Sep 14 '18 at 6:14
  • 1
    installing from a local repository should work. What happens exactly if you go to miktex console -> settings ->tab general and click on change? – Ulrike Fischer Sep 14 '18 at 7:04
  • Are the servers available from your ISP (it may be a kind of firewall on their side for some reasons)? Try to ping them – trolley813 Sep 14 '18 at 7:59
  • I eventually fixed this by removing MiKTeX entirely and doing a clean install, but the reasons for this remain a mystery. – Jürgen Hubert Sep 17 '18 at 10:38
  • 4
    I'm voting to close this question as off-topic because it was solved by reinstalling MiKTeX mentioned in comment. – Mensch Mar 10 at 10:43