1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-09-10 09:52:20 +08:00

document how to change daemon ports

this more clearly explains that the daemon is listening on the network. it also hints as to how to change the listening ports. this is also related to #874
This commit is contained in:
anarcat
2015-03-07 08:24:59 -05:00
parent b65a3cf85b
commit fb8a1ab161

View File

@ -38,7 +38,14 @@ over the network. Most applications that use IPFS will do so by
communicating with a daemon over the HTTP API. While the daemon is
running, calls to 'ipfs' commands will be sent over the network to
the daemon.
`,
The daemon will start listening on ports on the network, which are
documented in (and can be modified through) 'ipfs config Addresses'.
For example, to change the 'Gateway' port:
ipfs config Addresses.Gateway /ip4/127.0.0.1/tcp/8082
Make sure to restart the daemon after.`,
},
Options: []cmds.Option{