Bug 715941 - Use port 6666 for httpd.js as 7777 can't start [r=vingtetun]
authorFabrice Desré <fabrice@mozilla.com>
Fri, 06 Jan 2012 10:11:56 -0800
changeset 85172 70d7b2d50873790ee308c20f032f7d74f8edf9b2
parent 85171 157fc21f09fc776e105450943c0aedb3c99e0eb2
child 85173 5a446202be5fa2633e4cc1c6113a6ebded512882
child 85175 fdc667b43e1112175b7a711b557497b64248b7ed
push id805
push userakeybl@mozilla.com
push dateWed, 01 Feb 2012 18:17:35 +0000
treeherdermozilla-aurora@6fb3bf232436 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvingtetun
bugs715941
milestone12.0a1
Bug 715941 - Use port 6666 for httpd.js as 7777 can't start [r=vingtetun]
b2g/chrome/content/shell.js
--- a/b2g/chrome/content/shell.js
+++ b/b2g/chrome/content/shell.js
@@ -139,17 +139,17 @@ var shell = {
       let fileScheme = 'file://';
       if (homeURL.substring(0, fileScheme.length) == fileScheme) {
         homeURL = homeURL.replace(fileScheme, '');
 
         let baseDir = homeURL.split('/');
         baseDir.pop();
         baseDir = baseDir.join('/');
 
-        const SERVER_PORT = 7777;
+        const SERVER_PORT = 6666;
         startupHttpd(baseDir, SERVER_PORT);
 
         let baseHost = 'http://localhost';
         homeURL = homeURL.replace(baseDir, baseHost + ':' + SERVER_PORT);
       }
       addPermissions([homeURL]);
     } catch (e) {
       let msg = 'Fatal error during startup: [' + e + '[' + homeURL + ']';