Swap host and port arguments for .createClient() method