Skip to content

Commit af8f583

Browse files
Update README.md
1 parent ee69144 commit af8f583

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,9 @@ http {
227227
proxy_pass https://localhost:4000;
228228
}
229229
230-
# This section is for Server Backend on port 3000
230+
# This section is for Server Backend on port 6000
231231
location /app {
232-
proxy_pass http://localhost:3000;
232+
proxy_pass http://localhost:6000;
233233
}
234234
}
235235
@@ -271,14 +271,14 @@ sudo npm i -g @nestjs/cli
271271
```
272272

273273
## A.6. Configure Firewall
274-
- Install `ufw`, allow OpenSSH connection, allow nginx connection. Then, allow ports 3000, 4000, and 5000 on the server for Mobile App, Web App, and Admin Web App, respectively. Also, open ports 8883 and 8081 to let IoT devices to connect to the MQTT broker and the web socket, respectively.
274+
- Install `ufw`, allow OpenSSH connection, allow nginx connection. Then, allow ports 4000, 5000, and 6000 on the server for Mobile App, Web App, and Admin Web App, respectively. Also, open ports 8883 and 8081 to let IoT devices to connect to the MQTT broker and the web socket, respectively.
275275
```
276276
sudo apt install ufw
277277
sudo ufw allow OpenSSH
278278
sudo ufw allow 'nginx full'
279-
sudo ufw allow 3000
280279
sudo ufw allow 4000
281280
sudo ufw allow 5000
281+
sudo ufw allow 6000
282282
sudo ufw allow 8883
283283
sudo ufw allow 8081
284284
```
@@ -347,7 +347,7 @@ ADMIN_WALLET_PRIVATE_KEY='YOUR_ADMIN_WALLET_PRIVATE_KEY'
347347
# Server Configuration
348348
HOST_PROTOCOL='https://'
349349
HOST_NAME_OR_IP='panel.YOUR_DOMAIN'
350-
HOST_PORT='3000'
350+
HOST_PORT='6000'
351351
HOST_SUB_DIRECTORY='app'
352352
353353
# StorX Configuration

0 commit comments

Comments
 (0)