Fix incorrect port variable