API port settings