Fetching problem with Macports I'm running macports on a late 2013 MBP. I'm having problems with macport being unable to download the package files. I tried installing 'git +svn' and not only did the entire dependency resolution take a bit more than one hour, once it got done and moved into the fetching phase it couldn't find any files to download.
I checked in safari and the files are there sure enough but the port installer can't seem to find them.
I've tried at home as well and my mac mini there has no problems finding the packages and installing them but the MBP can't. And the mac mini is much much faster at dependency resolution as well.

I've googled around without really finding anything so I'm at wits end here.
There must be something strange with my installation but I can't figure out what.

The log:

info:fetch ---&gt;  expat-2.1.0.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/expat
:notice:fetch ---&gt;  Attempting to fetch expat-2.1.0.tar.gz from http://osl.no.distfiles.macports.org/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds
:notice:fetch ---&gt;  Attempting to fetch expat-2.1.0.tar.gz from http://skylink.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30002 milliseconds
:notice:fetch ---&gt;  Attempting to fetch expat-2.1.0.tar.gz from http://lil.fr.distfiles.macports.org/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30004 milliseconds
:notice:fetch ---&gt;  Attempting to fetch expat-2.1.0.tar.gz from http://kent.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30001 milliseconds
:notice:fetch ---&gt;  Attempting to fetch expat-2.1.0.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds
:notice:fetch ---&gt;  Attempting to fetch expat-2.1.0.tar.gz from http://nue.de.distfiles.macports.org/macports/distfiles/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30004 milliseconds
:notice:fetch ---&gt;  Attempting to fetch expat-2.1.0.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30005 milliseconds
:notice:fetch ---&gt;  Attempting to fetch expat-2.1.0.tar.gz from http://vorboss.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds
:notice:fetch ---&gt;  Attempting to fetch expat-2.1.0.tar.gz from http://freefr.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30005 milliseconds
:notice:fetch ---&gt;  Attempting to fetch expat-2.1.0.tar.gz from http://heanet.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds
:notice:fetch ---&gt;  Attempting to fetch expat-2.1.0.tar.gz from http://netassist.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30004 milliseconds
:notice:fetch ---&gt;  Attempting to fetch expat-2.1.0.tar.gz from http://netix.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds


EDIT:
It seems like there is a problem with curl:
The following doesn't work:


  curl http://nue.de.distfiles.macports.org
  it just times out.
And the problem was the env var, http_proxy. Somehow it suddenly started to make a difference. 
Shout-out to @patrix for the help!