mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-31 17:31:26 +00:00
add daemon_settings.yml instructions
mention port # change add daemon_settings.yml method
This commit is contained in:
parent
60fa857aa6
commit
0d501084e0
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue