mirror of
https://github.com/LBRYFoundation/lbry.com.git
synced 2025-08-23 17:47:26 +00:00
Update examples to working ones (#1285)
Original lines didn't work for me. But api call found in documentation seems to do wanted thing. Cli command I figured out with few tries. Tested with latest LBRY downloaded from AUR.
This commit is contained in:
parent
347d1e2511
commit
fe1b4096ff
1 changed files with 3 additions and 2 deletions
|
@ -21,8 +21,9 @@ To change the port once during runtime, set the LBRY_PEER_PORT env variable. Her
|
|||
|
||||
Once the daemon is running, you can change the port permanently by using the following [api](/api) call
|
||||
|
||||
curl 'http://localhost:5279' --data '{"method":"settings_set", "params":{"tcp_port":<port-num>}}'
|
||||
curl -d'{"method": "settings_set", "params": {"key": "tcp_port", "value": <port-num>}}' http://localhost:5279/
|
||||
|
||||
|
||||
or via cli command
|
||||
|
||||
lbrynet settings_set --tcp_port 3334
|
||||
lbrynet settings set tcp_port 3334
|
||||
|
|
Loading…
Add table
Reference in a new issue