File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1
1
2
2
3
- global . VERSION = '1.0.5 ' ;
3
+ global . VERSION = '1.0.6 ' ;
4
4
5
5
global . logger = logger = require ( './lib/log' ) ;
6
6
logger . init ( process . cwd ( ) , 'log.txt' ) ;
Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ module.exports = class RPCServer extends EventEmitter {
72
72
73
73
} ) ;
74
74
75
- server . http ( ) . listen ( config . RPC . Port , ( ) => {
76
- LogB ( ' JSON-RPC server listening on localhost:' + config . RPC . Port ) ;
75
+ server . http ( ) . listen ( config . RPC . Port , config . RPC . Host , ( ) => {
76
+ LogB ( ` JSON-RPC server listening on ${ config . RPC . Host } : ${ config . RPC . Port } ` ) ;
77
77
78
78
} ) . on ( 'error' , ( err ) => {
79
79
if ( err . code === 'EADDRINUSE' ) {
Original file line number Diff line number Diff line change 1
1
2
2
[General]
3
3
CloseToTray =0
4
- FirstRun =1
5
4
6
5
[Miner]
7
6
; the ETH address to use for mining payouts. this has to match
@@ -16,6 +15,11 @@ Port=8090
16
15
17
16
18
17
[RPC]
18
+ ; interface address to listen on for incoming connections. set to
19
+ ; 0.0.0.0 to listen on all interfaces, which means the proxy will accept
20
+ ; connections from other computers on the network. set to localhost to
21
+ ; only accept connections from the local computer.
22
+ Host =0.0.0.0
19
23
; this is the port this proxy listens on for requests from the miner.
20
24
; it has to match the setting in your mining software.
21
25
Port =8080
You can’t perform that action at this time.
0 commit comments