Changed local ip to be based on ip env var.