handle calling port setter with default port