Skip to content

Commit

Permalink
fix: try with a different port
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddias committed Feb 22, 2018
1 parent fbca3e0 commit c143986
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/endpoint/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const routes = require('./routes')

class Server {
constructor (options) {
options = options || { port: 9999 }
options = options || { port: 30000 }

this.server = null
this.port = options.port
Expand Down
2 changes: 1 addition & 1 deletion src/factory-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class FactoryClient {
constructor (options) {
options = options || {}
if (!options.host) { options.host = 'localhost' }
if (!options.port) { options.port = 9999 }
if (!options.port) { options.port = 30000 }
if (typeof options.host === 'number') {
options.port = options.host
options.host = 'localhost'
Expand Down

0 comments on commit c143986

Please sign in to comment.