# Fault - GatewayToHostConnectFault(vim.fault.GatewayToHostConnectFault)

Extended by
  GatewayHostNotReachable, GatewayToHostAuthFault, GatewayToHostTrustVerifyFault
Extends
  GatewayConnectFault
Since
  vSphere API 6.0

## Fault Description

Deprecated. Not used since vSphere 6.5

GatewayToHostConnectFault is thrown by the gateway used to communicate with a host, if an error occurs in the communication between the gateway and the host. More details may be provided by a subfault.

Properties

Name | Type | Description
--- | --- | ---
hostname | xsd:string | Hostname of the host that the gateway is communicating with.
port* | xsd:int | Port specified for the connection between the gateway and the host.
Properties inherited from GatewayConnectFault
details, gatewayId, gatewayInfo, gatewayType
Properties inherited from HostConnectFault
None
Properties inherited from VimFault
None
Properties inherited from MethodFault
faultCause, faultMessage

*May not be present
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vim25="urn:vim25" name="GatewayToHostConnectFault"> <complexContent> <extension base="vim25:GatewayConnectFault"> <sequence> <element name="hostname" type="xsd:string"/> <element name="port" type="xsd:int" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>