Fixed app port setup.