diff --git a/lib/node.js b/lib/node.js index 10d0b28..17aeaa4 100644 --- a/lib/node.js +++ b/lib/node.js @@ -55,7 +55,12 @@ class Node extends EventEmitter { } } - stp.createServer(this.identity, (connection) => { + console.log('creating server on port ' + this.port); + + stp.createServer({ + identity: this.identity, + port: this.port + }, (connection) => { console.log('incomming connection...'); console.dir(connection); })