added Integer cast for port in main method