Changed port handling in Hive