Replaced _wsPort (web service port) with exisiting _controllerPort.