Browse Source

hardcode localhost for zmq ports of dojo

use-env-var-docker
kenshin-samourai 5 years ago
parent
commit
4adcaf20f5
  1. 2
      pushtx/index-orchestrator.js
  2. 2
      pushtx/index.js
  3. 2
      tracker/tracker.js

2
pushtx/index-orchestrator.js

@ -39,7 +39,7 @@
// Initialize notification sockets of singleton pushTxProcessor
pushTxProcessor.initNotifications({
uriSocket: `tcp://*:${keys.ports.orchestrator}`
uriSocket: `tcp://127.0.0.1:${keys.ports.orchestrator}`
})
// Initialize and start the orchestrator

2
pushtx/index.js

@ -40,7 +40,7 @@
// Initialize notification sockets of singleton pushTxProcessor
pushTxProcessor.initNotifications({
uriSocket: `tcp://*:${keys.ports.notifpushtx}`
uriSocket: `tcp://127.0.0.1:${keys.ports.notifpushtx}`
})
// Initialize the http server

2
tracker/tracker.js

@ -22,7 +22,7 @@ class Tracker {
constructor() {
// Notification socket for client events
this.notifSock = zmq.socket('pub')
this.notifSock.bindSync(`tcp://*:${keys.ports.tracker}`)
this.notifSock.bindSync(`tcp://127.0.0.1:${keys.ports.tracker}`)
// Initialize the blockchain processor
// and the mempool buffer

Loading…
Cancel
Save