class Rex::AddressInUse

This exception is raised when an attempt to use an address or port that is already in use occurs, such as binding to a host on a given port that is already in use. Note that Windows raises this in some cases when attempting to connect to addresses that it can’t handle, e.g. “0.0.0.0”. Thus, this is a ConnectionError.

Public Instance Methods

to_s() click to toggle source
# File lib/rex/exceptions.rb, line 229
def to_s
  "The address is already in use #{addr_to_s}."
end