Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
Change server default port from 3000 to 8080
Browse files Browse the repository at this point in the history
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 <bruno.bottazzini@intel.com>
  • Loading branch information
Bruno Bottazzini committed Oct 6, 2015
1 parent a2ee892 commit 2e8aac9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion server/configuration.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"server_port": 3000,
"server_port": 8080,
"server_output": true,
"server_user_home_dir": "/tmp",
"sessions_dir" : "./sessions",
Expand Down
2 changes: 1 addition & 1 deletion test_case/00_run_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
});

0 comments on commit 2e8aac9

Please sign in to comment.