Fixed output to show actual port number.