Change the default port to 8000

This commit is contained in:
Tobie Morgan Hitchcock 2022-07-18 18:49:43 +01:00
parent c9ad4e60ce
commit 4468e10bd1
2 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -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(