Phase II trial to study the effectiveness of intraperitoneal interleukin-12 in treating patients who have ovarian epithelial cancer or primary peritoneal cancer. Interleukin-12 may kill tumor cells by stopping blood flow to the tumor and by stimulating a person's white blood cells to kill tumor cells. Giving interleukin-12 directly into the peritoneal cavity may kill cancer cells