diff --git a/servers/web.js b/servers/web.js
index <HASH>..<HASH> 100644
--- a/servers/web.js
+++ b/servers/web.js
@@ -584,7 +584,7 @@ const initialize = function (api, options, next) {
   }
 
   const chmodSocket = function (bindIP, port) {
-    if (!options.bindIP && options.port.indexOf('/') >= 0) {
+    if (!bindIP && port.indexOf('/') >= 0) {
       fs.chmodSync(port, '0777')
     }
   }
Fixes chmodSocket function

Function was pulling in `options` object, rather than using passed in values.