From 3305764f710c91fd767fa82f51582d7b96e9c03d Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Tue, 29 Mar 2016 18:34:52 +0200 Subject: [PATCH] Rescue Errno::ENOTCONN Fixes GH-7182 --- lib/vagrant/util/is_port_open.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/util/is_port_open.rb b/lib/vagrant/util/is_port_open.rb index 63652ee28..b51a01ecd 100644 --- a/lib/vagrant/util/is_port_open.rb +++ b/lib/vagrant/util/is_port_open.rb @@ -30,7 +30,7 @@ module Vagrant return true end rescue Timeout::Error, Errno::ECONNREFUSED, Errno::EHOSTUNREACH, \ - Errno::ENETUNREACH, Errno::EACCES + Errno::ENETUNREACH, Errno::EACCES, Errno::ENOTCONN # Any of the above exceptions signal that the port is closed. return false end