add ip/port and readonly config