On Linux where IPv6 is disabled, where /etc/hosts has '::1 localhost', a socket connect to localhost 2222 results in ENETUNREACH which needs to be caught as per this patch.
On Linux where IPv6 is disabled, where /etc/hosts has '::1 localhost', a socket connect to localhost 2222 results in ENETUNREACH which needs to be caught as per this patch.

denisbr/vagrant,myrjola/vagrant,stephancom/vagrant,modulexcite/vagrant,PatOShea/vagrant,samphippen/vagrant,gpkfr/vagrant,samphippen/vagrant,taliesins/vagrant,bdwyertech/vagrant,apertoso/vagrant,tbriggs-curse/vagrant,chrisvire/vagrant,senglin/vagrant,bryson/vagrant,benh57/vagrant,muhanadra/vagrant,johntron/vagrant,ferventcoder/vagrant,nickryand/vagrant,jfchevrette/vagrant,zsjohny/vagrant,lonniev/vagrant,mkuzmin/vagrant,shtouff/vagrant,marxarelli/vagrant,jmanero/vagrant,MiLk/vagrant,obnoxxx/vagrant,Avira/vagrant,gpkfr/vagrant,cgvarela/vagrant,Ninir/vagrant,jberends/vagrant,philwrenn/vagrant,mwarren/vagrant,denisbr/vagrant,ianmiell/vagrant,clinstid/vagrant,PatOShea/vagrant,doy/vagrant,aaam/vagrant,tbriggs-curse/vagrant,kamazee/vagrant,myrjola/vagrant,mpoeter/vagrant,lukebakken/vagrant,p0deje/vagrant,signed8bit/vagrant,lonniev/vagrant,Sgoettschkes/vagrant,apertoso/vagrant,bheuvel/vagrant,dhoer/vagrant,vamegh/vagrant,evverx/vagrant,marxarelli/vagrant,BlakeMesdag/vagrant,tbarrongh/vagrant,mwrock/vagrant,bheuvel/vagrant,teotihuacanada/vagrant,wangfakang/vagrant,fnewberg/vagrant,jean/vagrant,apertoso/vagrant,bshurts/vagrant,bheuvel/vagrant,crashlytics/vagrant,tjanez/vagrant,PatrickLang/vagrant,ArloL/vagrant,ianmiell/vagrant,rivy/vagrant,aaam/vagrant,pwnall/vagrant,theist/vagrant,doy/vagrant,sax/vagrant,zsjohny/vagrant,Chhunlong/vagrant,glensc/vagrant,justincampbell/vagrant,juiceinc/vagrant,gbarberi/vagrant,tbarrongh/vagrant,sax/vagrant,gitebra/vagrant,TheBigBear/vagrant,kamigerami/vagrant,blueyed/vagrant,samphippen/vagrant,miguel250/vagrant,mwarren/vagrant,mkuzmin/vagrant,jhoblitt/vagrant,otagi/vagrant,blueyed/vagrant,tschortsch/vagrant,darkn3rd/vagrant,PatrickLang/vagrant,PatrickLang/vagrant,stephancom/vagrant,aneeshusa/vagrant,sferik/vagrant,krig/vagrant,ferventcoder/vagrant,kalabiyau/vagrant,bshurts/vagrant,carlosefr/vagrant,denisbr/vagrant,dharmab/vagrant,gitebra/vagrant,philoserf/vagrant,juiceinc/vagrant,jfchevrette/vagrant,Chhunlong/vagrant,Endika/vagrant,tschortsch/vagrant,pwnall/vagrant,jberends/vagrant,gajdaw/vagrant,carlosefr/vagrant,blueyed/vagrant,krig/vagrant,Ninir/vagrant,genome21/vagrant,bshurts/vagrant,tknerr/vagrant,myrjola/vagrant,bdwyertech/vagrant,legal90/vagrant,gajdaw/vagrant,dustymabe/vagrant,jkburges/vagrant,aneeshusa/vagrant,kamigerami/vagrant,cgvarela/vagrant,darkn3rd/vagrant,Chhunlong/vagrant,benizi/vagrant,philoserf/vagrant,sideci-sample/sideci-sample-vagrant,senglin/vagrant,jtopper/vagrant,muhanadra/vagrant,jfchevrette/vagrant,patrys/vagrant,dhoer/vagrant,lonniev/vagrant,legal90/vagrant,patrys/vagrant,wkolean/vagrant,sni/vagrant,petems/vagrant,jtopper/vagrant,marxarelli/vagrant,mwarren/vagrant,chrisvire/vagrant,gbarberi/vagrant,legal90/vagrant,denisbr/vagrant,ArloL/vagrant,jkburges/vagrant,pwnall/vagrant,jfchevrette/vagrant,gajdaw/vagrant,tomfanning/vagrant,petems/vagrant,dharmab/vagrant,bryson/vagrant,chrisroberts/vagrant,Endika/vagrant,sideci-sample/sideci-sample-vagrant,mwrock/vagrant,ianmiell/vagrant,tschortsch/vagrant,zsjohny/vagrant,loren-osborn/vagrant,jhoblitt/vagrant,tomfanning/vagrant,sax/vagrant,senglin/vagrant,mpoeter/vagrant,jmanero/vagrant,krig/vagrant,gbarberi/vagrant,rivy/vagrant,wangfakang/vagrant,bryson/vagrant,janek-warchol/vagrant,doy/vagrant,patrys/vagrant,mkuzmin/vagrant,webcoyote/vagrant,apertoso/vagrant,mitchellh/vagrant,miguel250/vagrant,tjanez/vagrant,PatOShea/vagrant,nickryand/vagrant,otagi/vagrant,signed8bit/vagrant,webcoyote/vagrant,mpoeter/vagrant,jkburges/vagrant,miguel250/vagrant,crashlytics/vagrant,wangfakang/vagrant,taliesins/vagrant,shtouff/vagrant,Sgoettschkes/vagrant,taliesins/vagrant,genome21/vagrant,chrisvire/vagrant,PatOShea/vagrant,nickryand/vagrant,wkolean/vagrant,dharmab/vagrant,legal90/vagrant,ferventcoder/vagrant,TheBigBear/vagrant,Sgoettschkes/vagrant,evverx/vagrant,invernizzi-at-google/vagrant,theist/vagrant,fnewberg/vagrant,Endika/vagrant,invernizzi-at-google/vagrant,petems/vagrant,gpkfr/vagrant,shtouff/vagrant,chrisvire/vagrant,channui/vagrant,philwrenn/vagrant,mpoeter/vagrant,Chhed13/vagrant,kamazee/vagrant,sni/vagrant,PatrickLang/vagrant,iNecas/vagrant,bryson/vagrant,mkuzmin/vagrant,chrisroberts/vagrant,muhanadra/vagrant,bheuvel/vagrant,tomfanning/vagrant,loren-osborn/vagrant,tbarrongh/vagrant,marxarelli/vagrant,benizi/vagrant,doy/vagrant,fnewberg/vagrant,philoserf/vagrant,lonniev/vagrant,jmanero/vagrant,taliesins/vagrant,darkn3rd/vagrant,tbriggs-curse/vagrant,gbarberi/vagrant,carlosefr/vagrant,sax/vagrant,stephancom/vagrant,TheBigBear/vagrant,tbarrongh/vagrant,clinstid/vagrant,benh57/vagrant,pwnall/vagrant,jmanero/vagrant,darkn3rd/vagrant,jberends/vagrant,theist/vagrant,glensc/vagrant,kalabiyau/vagrant,jtopper/vagrant,chrisroberts/vagrant,bshurts/vagrant,tjanez/vagrant,h4ck3rm1k3/vagrant,miguel250/vagrant,sideci-sample/sideci-sample-vagrant,ferventcoder/vagrant,lukebakken/vagrant,signed8bit/vagrant,sni/vagrant,wkolean/vagrant,mitchellh/vagrant,jean/vagrant,BlakeMesdag/vagrant,fnewberg/vagrant,teotihuacanada/vagrant,petems/vagrant,dustymabe/vagrant,nickryand/vagrant,benh57/vagrant,BlakeMesdag/vagrant,jtopper/vagrant,dharmab/vagrant,kamigerami/vagrant,modulexcite/vagrant,Avira/vagrant,obnoxxx/vagrant,tjanez/vagrant,carlosefr/vagrant,iNecas/vagrant,ArloL/vagrant,blueyed/vagrant,kamigerami/vagrant,janek-warchol/vagrant,benizi/vagrant,crashlytics/vagrant,krig/vagrant,sni/vagrant,theist/vagrant,evverx/vagrant,jhoblitt/vagrant,Avira/vagrant,otagi/vagrant,h4ck3rm1k3/vagrant,Chhed13/vagrant,wangfakang/vagrant,mwrock/vagrant,tomfanning/vagrant,channui/vagrant,johntron/vagrant,Endika/vagrant,Avira/vagrant,tknerr/vagrant,h4ck3rm1k3/vagrant,vamegh/vagrant,Chhed13/vagrant,myrjola/vagrant,benh57/vagrant,philoserf/vagrant,invernizzi-at-google/vagrant,mwarren/vagrant,sferik/vagrant,tbriggs-curse/vagrant,kamazee/vagrant,kalabiyau/vagrant,kalabiyau/vagrant,cgvarela/vagrant,jean/vagrant,gitebra/vagrant,ianmiell/vagrant,Chhunlong/vagrant,invernizzi-at-google/vagrant,aneeshusa/vagrant,Ninir/vagrant,aneeshusa/vagrant,bdwyertech/vagrant,crashlytics/vagrant,samphippen/vagrant,sferik/vagrant,tschortsch/vagrant,tknerr/vagrant,p0deje/vagrant,juiceinc/vagrant,webcoyote/vagrant,MiLk/vagrant,h4ck3rm1k3/vagrant,juiceinc/vagrant,p0deje/vagrant,otagi/vagrant,chrisroberts/vagrant,MiLk/vagrant,channui/vagrant,mwrock/vagrant,benizi/vagrant,stephancom/vagrant,bdwyertech/vagrant,cgvarela/vagrant,janek-warchol/vagrant,loren-osborn/vagrant,teotihuacanada/vagrant,dustymabe/vagrant,wkolean/vagrant,loren-osborn/vagrant,webcoyote/vagrant,lukebakken/vagrant,philwrenn/vagrant,mitchellh/vagrant,jhoblitt/vagrant,muhanadra/vagrant,ArloL/vagrant,clinstid/vagrant,aaam/vagrant,vamegh/vagrant,justincampbell/vagrant,teotihuacanada/vagrant,genome21/vagrant,tknerr/vagrant,jkburges/vagrant,kamazee/vagrant,signed8bit/vagrant,Chhed13/vagrant,jberends/vagrant,mitchellh/vagrant,vamegh/vagrant,senglin/vagrant,janek-warchol/vagrant,shtouff/vagrant,obnoxxx/vagrant,philwrenn/vagrant,lukebakken/vagrant,johntron/vagrant,patrys/vagrant,genome21/vagrant,johntron/vagrant,dustymabe/vagrant,justincampbell/vagrant,Sgoettschkes/vagrant,zsjohny/vagrant,dhoer/vagrant,modulexcite/vagrant,rivy/vagrant,rivy/vagrant,aaam/vagrant,modulexcite/vagrant,gitebra/vagrant,gpkfr/vagrant,TheBigBear/vagrant,jean/vagrant,justincampbell/vagrant,iNecas/vagrant,dhoer/vagrant