cleanup support for listen port and host ip