changing ip to localhost