From 2e8aac9e088367ab4c512dd2cbd23bbdafdd8736 Mon Sep 17 00:00:00 2001 From: Bruno Bottazzini Date: Tue, 6 Oct 2015 13:56:57 -0300 Subject: [PATCH] Change server default port from 3000 to 8080 To be more user friendly it is good to put it in a common port Depending on the linux distro it may ask to be root when running the server Changes test case to use port 8080. Signed-off-by: Bruno Bottazzini --- README.md | 2 +- server/configuration.json | 2 +- test_case/00_run_server.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cb82217..d1dde92 100644 --- a/README.md +++ b/README.md @@ -111,7 +111,7 @@ If no argument is provided it will get the default server configuration file. #### Configuration attributes server_port: - The port listened by the server. Default: 3000 + The port listened by the server. Default: 8080 server_output: Choose if you want the server to show its output. diff --git a/server/configuration.json b/server/configuration.json index 7b5c16c..b74b149 100644 --- a/server/configuration.json +++ b/server/configuration.json @@ -1,5 +1,5 @@ { - "server_port": 3000, + "server_port": 8080, "server_output": true, "server_user_home_dir": "/tmp", "sessions_dir" : "./sessions", diff --git a/test_case/00_run_server.js b/test_case/00_run_server.js index 9817f8f..0d72063 100644 --- a/test_case/00_run_server.js +++ b/test_case/00_run_server.js @@ -3,5 +3,5 @@ var http = require('http'), before(function() { server = http.createServer(require('../server/app.js')); - browser.baseUrl = 'http://localhost:3000'; + browser.baseUrl = 'http://localhost:8080'; });