Changed the default port to last element in listed Array