Skip to content

Commit

Permalink
Ghostdriver should use the --ip value to start the web server
Browse files Browse the repository at this point in the history
Fixes #390
  • Loading branch information
laurentj committed Dec 17, 2014
1 parent 8abdf0e commit e7bb101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Expand Up @@ -66,7 +66,7 @@ try {
router = new ghostdriver.RouterReqHand();

// Start the server
if (server.listen(ghostdriver.config.port, { "keepAlive" : true }, router.handle)) {
if (server.listen(ghostdriver.config.ip+":"+ghostdriver.config.port, { "keepAlive" : true }, router.handle)) {
_log.info("Main", "running on port " + server.port);

// If a Selenium Grid HUB was provided, register to it!
Expand Down

0 comments on commit e7bb101

Please sign in to comment.