Configure some port and ip