set rest transport uri to localhost