diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index df1573fd..e9e36e3a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -43,10 +43,10 @@ To listen to code changes as you develop, use the following command: cargo watch -x 'run -- -vvv start memory' ``` -SurrealDB runs by default on port 3000. To change the default port, use the following command: +SurrealDB runs by default on port 8000. To change the default port, use the following command: ```bash -cargo run -- -vvv start memory --bind 0.0.0.0:8000 +cargo run -- -vvv start memory --bind 0.0.0.0:9000 ``` To run all tests manually, use the SurrealDB command-line from your terminal: diff --git a/src/cli/mod.rs b/src/cli/mod.rs index 0c94aded..bd00a43f 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -181,7 +181,7 @@ pub fn init() { .short('b') .long("bind") .forbid_empty_values(true) - .default_value("0.0.0.0:3000") + .default_value("0.0.0.0:8000") .help("The hostname or ip address to listen for connections on"), ) .arg(