Catalyzes the rearrangement of hydroxylaminobenzene to 2-aminophenol. Involved in the degradation of nitrobenzene. N-phenylhydroxylamine = 2-aminophenol Could be membrane-associated. Mutants are not able to grow on nitrobenzene.