notes on port 80

This commit is contained in:
Alexander Bentkamp
2022-10-18 17:26:21 +02:00
parent 039464924d
commit 121b0d0b8a
+12
View File
@@ -70,4 +70,16 @@ cd NNG4 && python3 ./gameserver.py
# Test docker
```
docker run --runtime=runsc --network=none --rm -it nng4:latest
```
# Running on port 80
## Set environment variable
```
export PORT=80
```
## Enable running on port 80:
```
sudo apt-get install libcap2-bin
sudo setcap cap_net_bind_service=+ep `readlink -f \`which node\``
```