6 Commits

Author SHA1 Message Date
Hans Van Broeckhoven
81553263ab Update is_port_open.rb
Solves https://github.com/mitchellh/vagrant/issues/3031 (again)
2017-04-24 20:09:32 +02:00
Seth Vargo
3305764f71 Rescue Errno::ENOTCONN
Fixes GH-7182
2016-03-31 17:02:50 +02:00
Shawn Neal
522bf9ff8b Fix issue 3031
Sometimes in use ports can raise a Errno::EACCES exeptions on Windows hosts.
2015-01-16 08:03:37 -08:00
Olle Lundberg
0c853ccb3c Update is_port_open.rb 2013-12-10 21:23:11 +01:00
Matt Callaway
117a9c146a 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. 2012-05-25 15:45:18 -05:00
Mitchell Hashimoto
d08a65e7f7 IsPortOpen utility 2012-03-23 10:26:29 -04:00