Exception: Rex::BindFailed

Inherits:
ArgumentError
  • Object
show all
Includes:
HostCommunicationError, SocketError
Defined in:
lib/rex/exceptions.rb

Overview

This exception is raised when an attempt to use an address or port that is already in use or onot available occurs. such as binding to a host on a given port that is already in use, or when a bind address is specified that is not available to the host.

Instance Attribute Summary

Attributes included from HostCommunicationError

#host, #port

Instance Method Summary collapse

Methods included from HostCommunicationError

#addr_to_s, #initialize

Instance Method Details

#to_sObject



243
244
245
# File 'lib/rex/exceptions.rb', line 243

def to_s
  "The address is already in use or unavailable: #{addr_to_s}."
end