diff --git a/lib/configurator.js b/lib/configurator.js
index <HASH>..<HASH> 100644
--- a/lib/configurator.js
+++ b/lib/configurator.js
@@ -2,6 +2,7 @@
 'use strict';
 
 const join = require('path').join;
+const getPort = require('./utils').getPort;
 
 class Configurator {
     constructor(config){
@@ -17,10 +18,11 @@ class Configurator {
         this.logger = config.logger || console;
     }
 
-    validate(){
+    validate(config){
         //TODO: we should ensure we have a valid config!!
         //List of required properties:
         //port
+        if(!config.port) config.port = getPort();
         //hostname
         //baseUrl
     }
lib: configurator ensure we have a default port