Change the default port to 8000
This commit is contained in:
parent
c9ad4e60ce
commit
4468e10bd1
2 changed files with 3 additions and 3 deletions
|
@ -43,10 +43,10 @@ To listen to code changes as you develop, use the following command:
|
||||||
cargo watch -x 'run -- -vvv start memory'
|
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
|
```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:
|
To run all tests manually, use the SurrealDB command-line from your terminal:
|
||||||
|
|
|
@ -181,7 +181,7 @@ pub fn init() {
|
||||||
.short('b')
|
.short('b')
|
||||||
.long("bind")
|
.long("bind")
|
||||||
.forbid_empty_values(true)
|
.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"),
|
.help("The hostname or ip address to listen for connections on"),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
|
|
Loading…
Reference in a new issue