[r2r] Remove hardcoded localhost hostname