Exception: Rex::ConnectionRefused
- Inherits:
-
ConnectionError
- Object
- IOError
- ConnectionError
- Rex::ConnectionRefused
- Defined in:
- lib/rex/exceptions.rb
Overview
This exception is raised when a connection attempt fails because the remote side refused the connection.
Instance Attribute Summary
Attributes included from HostCommunicationError
Instance Method Summary collapse
Methods included from HostCommunicationError
Instance Method Details
#to_s ⇒ Object
188 189 190 |
# File 'lib/rex/exceptions.rb', line 188 def to_s "The connection was refused by the remote host #{addr_to_s}." end |