@cryptotaxi247 / kubo / commits / fb8a1ab16

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

anarcat committed Mar 7, 2015 at 08:24 UTC fb8a1ab161098ef95c2e803c710c90a8b57c69d6
1 file changed +8 -1
cmd/ipfs/daemon.go
+8 -1
@@ -38,7 +38,14 @@ over the network. Most applications that use IPFS will do so by
38 communicating with a daemon over the HTTP API. While the daemon is
39 running, calls to 'ipfs' commands will be sent over the network to
40 the daemon.
41 -`,
41 +
42 +The daemon will start listening on ports on the network, which are
43 +documented in (and can be modified through) 'ipfs config Addresses'.
44 +For example, to change the 'Gateway' port:
45 +
46 + ipfs config Addresses.Gateway /ip4/127.0.0.1/tcp/8082
47 +
48 +Make sure to restart the daemon after.`,
49 },
50
51 Options: []cmds.Option{