Do not use SERVER_ADDR if CLI