Replace default port with class constant