FIX Convert port setup to int

ERP start fails on mongodb port setup if is set. The param has to be convert to an integer