added port value to getFullHOstName()