Set endpoint's service to localhost