Fix incorect parameter order for connect

Authored by mreeves on Feb 21 2020, 5:54 PM.