spectroscopy service address is generated differently according to SPECTROS_HOST == localhost or not.