fix connection with non defauly port