TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I already read these threads: 1, 2, 3 and 4 which address the connection error connect failed in tcp_connect(). I found out that the address I can't connect to is but there is nothing and It would even be helpful if someone could validate that this process works for him right now. Which file do I need to change to force a repository change to something like CTAN.

This is a clean fresh installation (but reinstalling seems to have helped this guy at least temporarily). Also I do not have any other problems with my internet connection on any port.

I have no firewall. And get the following:

Installation dialog comes up

Installation failed

Synchronize failed

Repo change failed


Obviously this issue can't be generalized some of us suffer sometimes from it and have to deal with it while generating specific solutions. When I solved this problem I will post (in detail) what was the cause and the fix to it.


The solution is that MikTex won't use the systems default proxy settings. It always assumes that there is no proxy. On Windows use the console cmd.exe and type ipconfig /all and proxycfg -u(or netsh winhttp import proxy ie) to find all necessary information about your NICs. The line Proxyserver from proxycfg command will tell you what to enter here: enter image description here

Yes, I am behind a proxy on this machine and didn't take this into account...

share|improve this question

closed as off-topic by Speravir, Jubobs, Guido, ChrisS, Jesse Mar 26 '14 at 4:35

  • 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.

This happens to me when a MiKTeX mirror is not online. Try changing the repo to another manually. Or you can't do that either? – marczellm Mar 25 '14 at 11:57
@marczellm Could you explain how to do it manually. So which file will I have to edit. Until now I only used the GUI which is not working at the moment as you can see in the 4th image. Could you please also link in your answer to an up-to-date mirror list. – dkeck Mar 25 '14 at 12:04
This question appears to be off-topic because it is about an issue that cannot retraced by other users, because it was either temporary or caused by a not TeX related connection problem. – Speravir Mar 26 '14 at 2:20
up vote 5 down vote accepted

Everything works fine here. I just made an update and installed new packages.

Some more information: - Reverse IP Lookup on DomainTools shows you, that this IP is used amongst others for http://miktex.org/. The reason is that in these cases, when you have package installation from a random or from the “nearest” repository selected, the page http://api.miktex.org/Repository.asmx is called. Maybe this was temporarily down or you have more serious connection issues from your region.

But this is not TeX related and also for your question is guilty what I wrote in Cannot install MiKTeX 2.9 after a new Windows installation:

“Sorry, but this kind of questions is not answerable on a valuable level. The issue is in most cases not related to MiKTeX installer itself, not speaking of TeX in general”.

share|improve this answer
Thanks for your answer. Since the problem persists for me the problem is obviously on my side. I totally agree that this is off topic in the context of coding in tex but to find information you need context or at least some kind of anchor-keywords pointing to a topic. As a user of an application you are only connected to the front-end/top layer such that the anchor for a problem will always be the applications name or its specific usage. Though I agree with you I don't know of any better place to put such issues. – dkeck Mar 26 '14 at 9:30
@dkeck: All these questions like yours are only closed, not deleted, and hence can be found by other people facing this or a similar issue. – Speravir Mar 26 '14 at 16:10

Not the answer you're looking for? Browse other questions tagged or ask your own question.