add daemon_settings.yml instructions

mention port # change
add daemon_settings.yml method
This commit is contained in:
Thomas Zarebczan 2017-08-18 09:28:41 -04:00 committed by GitHub
parent 60fa857aa6
commit 0d501084e0

View file

@ -3,7 +3,7 @@ title: How to change default daemon peer port?
category: setup
---
If you see the error message `couldn't bind to port 3333`, it is likely that another process is already bound to that port. You will need to change the port before starting the daemon.
If you see the error message `couldn't bind to port 3333`, it is likely that another process is already bound to that port. You will need to change the port before starting the daemon. The port number should not matter as long as it is available and not blocked by your ISP.
To change the port once during runtime, set the LBRY_PEER_PORT env variable. Here's one way to do this:
@ -15,4 +15,8 @@ Once the daemon is running, you can change the port permanently by using the fol
or via cli command
lbrynet-cli settings_set --peer_port 3333
lbrynet-cli settings_set --peer_port 3334
Another way to change the port permanently is to append the below line to the `daemon_settings.yml` in the `lbrynet` [directory](https://lbry.io/faq/lbry-directories). If it doesn't exist, create a new file named `daemon_settings.yml` and append:
peer_port: 3334