Switch default REST API port from 8080 to 8008
8080 is a common port for HTTP services, and is likely to cause
collisions. 8008 is similarly derived from the default HTTP port (80),
is much less likely to collide, and happens to be twice the default
validator port.
@@ -158,7 +158,7 @@ fn run_submit_command(args: &ArgMatches) -> Result<(), Box<Error>> {
}
let target: String = match args.value_of("target")
- .unwrap_or("http://localhost:8080")
+ .unwrap_or("http://localhost:8008")
.parse() {
Ok(s) => s,
Err(_) => String::new()
