From e7bb101a8eb282ebf6e42ca79dcd25d544cfd35b Mon Sep 17 00:00:00 2001 From: Laurent Jouanneau Date: Wed, 17 Dec 2014 09:38:45 +0100 Subject: [PATCH] Ghostdriver should use the --ip value to start the web server Fixes #390 --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index b9cfc4f98..46b7672e9 100644 --- a/src/main.js +++ b/src/main.js @@ -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!