add mongodb port selection, bugfix dbhost always using localhost