Added the automated Port discovery