Fixed bug for port nos. > 1 digit!