add port to the class parameters