change server ip to localhost in case of testing