This repository was archived by the owner on Oct 30, 2018. It is now read-only.
File tree 2 files changed +30
-1
lines changed
2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change @@ -223,6 +223,34 @@ storjshare killall
223
223
storjshare daemon --foreground
224
224
```
225
225
226
+ ## Connecting to a remote Daemon
227
+
228
+ ** Note: Exposing your storjshare-daemon to the Internet is a bad idea
229
+ as everybody could read your Private Key!**
230
+
231
+ To connect to a remote running daemon instance you will first need to
232
+ ensure this daemon is running on a different address than the default
233
+ ` 127.0.0.1 ` . This can be achieved by [ configuring the Daemon] ( #configuring-the-daemon ) .
234
+
235
+ After your storjshare-daemon is reachable (eg. within your home network)
236
+ you can use ` -r ` or ` --remote ` option (on supported commands) to use the
237
+ specified IP/hostname and port to connect to, instead of ` 127.0.0.1 ` .
238
+
239
+ ** Note that this option does not support to start the storjshare-daemon
240
+ on a different system, only connect to an already running one!**
241
+
242
+ Example to connect to remote daemon running on ` 192.168.0.10 ` on the default port (` 45015 ` ) and show the status:
243
+
244
+ ```
245
+ storjshare status --remote 192.168.0.10
246
+ ```
247
+
248
+ If the port is changed, just append it like so:
249
+
250
+ ```
251
+ storjshare status --remote 192.168.0.10:51000
252
+ ```
253
+
226
254
## Migrating from [ ` storjshare-gui ` ] ( https://github.com/storj/storjshare-gui ) or [ ` storjshare-cli ` ] ( https://github.com/storj/storjshare-cli )
227
255
#### storjshare-gui
228
256
If you are using the ` storjshare-gui ` package you can go on with the latest
Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ storjshare_daemon
15
15
. option ( '--status' , 'print the status of the daemon and exit' )
16
16
. option ( '-F, --foreground' , 'keeps the process in the foreground' )
17
17
. option ( '-r, --remote <hostname:port>' ,
18
- 'hostname and optional port of the daemon' )
18
+ 'hostname and optional port of the daemon ' +
19
+ 'to connect to when using --status' )
19
20
. parse ( process . argv ) ;
20
21
21
22
const api = new RPC ( {
You can’t perform that action at this time.
0 commit comments