The request failed because of a connection failure. (Unable to connect to the remote server)

fixing the error with esxi 5.x :
The request failed because of a connection failure. (Unable to connect to the remote server)
when you login to ESXI management

source

You might be interested in