why is that necessary ? I did not see any occurence of app.port in the tests or in the model.