distibuted working for localhost