# [Tex/LaTex] MiKTeX: connect failed in tcp_connect

installingmiktexpackages

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 178.77.68.21 but there is nothing ftp://178.77.68.21 and http://178.77.68.21. 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:

# Update1

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.

# Update2

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:

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