changed ports

This commit is contained in:
AlbertA-Solicy
2023-09-06 12:09:16 +04:00
parent ec28829d2a
commit 7a58f97091
27 changed files with 44 additions and 44 deletions

View File

@@ -39,7 +39,7 @@ $ docker run \
--detach \
--name bigchaindb \
--publish 3333:3333 \
--publish 9985:9985 \
--publish 3333:3333 \
--publish 27017:27017 \
--publish 26657:26657 \
--volume $HOME/bigchaindb_docker/mongodb/data/db:/data/db \
@@ -54,7 +54,7 @@ Let's analyze that command:
* `--detach` run the container in the background
* `publish 3333:3333` map the host port `3333` to the container port `3333`
(the BigchainDB API server)
* `9985` BigchainDB Websocket server
* `3333` BigchainDB Websocket server
* `27017` Default port for MongoDB
* `26657` Tendermint RPC server
* `--volume "$HOME/bigchaindb_docker/mongodb:/data"` map the host directory

View File

@@ -171,15 +171,15 @@ which is used to serve the
(but setting it to `"wss"` does *not* enable SSL/TLS).
`wsserver.host` is where to bind the aiohttp server socket and
`wsserver.port` is the corresponding port.
If you want to allow connections from anyone, on port 9985,
set `wsserver.host` to 0.0.0.0 and `wsserver.port` to 9985.
If you want to allow connections from anyone, on port 3333,
set `wsserver.host` to 0.0.0.0 and `wsserver.port` to 3333.
**Example using environment variables**
```text
export BIGCHAINDB_WSSERVER_SCHEME=ws
export BIGCHAINDB_WSSERVER_HOST=0.0.0.0
export BIGCHAINDB_WSSERVER_PORT=9985
export BIGCHAINDB_WSSERVER_PORT=3333
```
**Example config file snippet**
@@ -198,7 +198,7 @@ export BIGCHAINDB_WSSERVER_PORT=9985
"wsserver": {
"scheme": "ws",
"host": "localhost",
"port": 9985
"port": 3333
}
```
@@ -233,7 +233,7 @@ export BIGCHAINDB_WSSERVER_ADVERTISED_PORT=443
"wsserver": {
"advertised_scheme": "ws",
"advertised_host": "localhost",
"advertised_port": 9985
"advertised_port": 3333
}
```