repeat assignment to wrong port value fixed. Thanks to Usama Chaudhry for reporting