{"action":"closed","issue":{"url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/1583","repository_url":"https://api.github.com/repos/BrowserSync/browser-sync","labels_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/1583/labels{/name}","comments_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/1583/comments","events_url":"https://api.github.com/repos/BrowserSync/browser-sync/issues/1583/events","html_url":"https://github.com/BrowserSync/browser-sync/issues/1583","id":339959925,"node_id":"MDU6SXNzdWUzMzk5NTk5MjU=","number":1583,"title":"2.24.5: `localOnly: true` still listens on external IPs (even if combined w/ `host: 127.0.0.1`)","user":{"login":"lkraav","id":147228,"node_id":"MDQ6VXNlcjE0NzIyOA==","avatar_url":"https://avatars3.githubusercontent.com/u/147228?v=4","gravatar_id":"","url":"https://api.github.com/users/lkraav","html_url":"https://github.com/lkraav","followers_url":"https://api.github.com/users/lkraav/followers","following_url":"https://api.github.com/users/lkraav/following{/other_user}","gists_url":"https://api.github.com/users/lkraav/gists{/gist_id}","starred_url":"https://api.github.com/users/lkraav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkraav/subscriptions","organizations_url":"https://api.github.com/users/lkraav/orgs","repos_url":"https://api.github.com/users/lkraav/repos","events_url":"https://api.github.com/users/lkraav/events{/privacy}","received_events_url":"https://api.github.com/users/lkraav/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-10T18:34:45Z","updated_at":"2018-07-10T18:38:32Z","closed_at":"2018-07-10T18:38:32Z","author_association":"NONE","body":"### Issue details\r\n\r\nI'm trying to get `browser-sync` to avoid opening ports to the world, instead we plan to do `ssh` port forwarding.\r\n\r\n### Steps to reproduce/test case\r\n\r\nEven though output makes it seem like everything external is disabled, `netstat -an` still reveals `browser-sync` listening on all interfaces, and I'm able to connect via the external IP. This can't be by design? If I say `--host=127.0.0.1` I would expect `browser-sync` to bind only to that interface.\r\n\r\n```\r\n~/www]# browser-sync start --config bs-config.js --no-online --host=127.0.0.1\r\n[BS] [debug] -> Starting Step: Finding an empty port\r\n[BS] [debug] Found a free port: 3000\r\n[BS] [debug] Setting Option: port - 3000\r\n[BS] [debug] +  Step Complete: Finding an empty port\r\n[BS] [debug] -> Starting Step: Getting an extra port for Proxy\r\n[BS] [debug] +  Step Complete: Getting an extra port for Proxy\r\n[BS] [debug] -> Starting Step: Checking online status\r\n[BS] [debug] +  Step Complete: Checking online status\r\n[BS] [debug] -> Starting Step: Resolve user plugins from options\r\n[BS] [debug] +  Step Complete: Resolve user plugins from options\r\n[BS] [debug] -> Starting Step: Set Urls and other options that rely on port/online status\r\n[BS] [debug] Setting multiple Options\r\n[BS] [debug] +  Step Complete: Set Urls and other options that rely on port/online status\r\n[BS] [debug] -> Starting Step: Setting Internal Events\r\n[BS] [debug] +  Step Complete: Setting Internal Events\r\n[BS] [debug] -> Starting Step: Setting file watchers\r\n[BS] [debug] +  Step Complete: Setting file watchers\r\n[BS] [debug] -> Starting Step: Merging middlewares from core + plugins\r\n[BS] [debug] Setting Option: middleware - List []\r\n[BS] [debug] +  Step Complete: Merging middlewares from core + plugins\r\n[BS] [debug] -> Starting Step: Starting the Server\r\n[BS] [debug] Static Server running (http) ...\r\n[BS] [debug] Running mode: SERVER\r\n[BS] [debug] +  Step Complete: Starting the Server\r\n[BS] [debug] -> Starting Step: Starting the HTTPS Tunnel\r\n[BS] [debug] +  Step Complete: Starting the HTTPS Tunnel\r\n[BS] [debug] -> Starting Step: Starting the web-socket server\r\n[BS] [debug] Setting Option: clientEvents - List [ \"scroll\", \"scroll:element\", \"input:text\", \"input:toggles\", \"form:submit\", \"form:reset\", \"click\" ]\r\n[BS] [debug] +  Step Complete: Starting the web-socket server\r\n[BS] [debug] -> Starting Step: Starting the UI\r\n[BS] [debug] Setting Option: session - 1531246788083\r\n[BS] [UI] Starting Step: Setting default plugins\r\n[BS] [UI] Step Complete: Setting default plugins\r\n[BS] [UI] Starting Step: Finding a free port\r\n[BS] [UI] Step Complete: Finding a free port\r\n[BS] [UI] Starting Step: Setting options also relevant to UI from BS\r\n[BS] [UI] Step Complete: Setting options also relevant to UI from BS\r\n[BS] [UI] Starting Step: Setting available URLS for UI\r\n[BS] [debug] Getting option via path: urls\r\n[BS] [UI] Step Complete: Setting available URLS for UI\r\n[BS] [UI] Starting Step: Starting the Control Panel Server\r\n[BS] [UI] Using port 3001\r\n[BS] [UI] Step Complete: Starting the Control Panel Server\r\n[BS] [UI] Starting Step: Add element events\r\n[BS] [UI] Step Complete: Add element events\r\n[BS] [UI] Starting Step: Registering default plugins\r\n[BS] [UI] Step Complete: Registering default plugins\r\n[BS] [UI] Starting Step: Add options setting event\r\n[BS] [UI] Step Complete: Add options setting event\r\n[BS] [debug] +  Step Complete: Starting the UI\r\n[BS] [debug] -> Starting Step: Merge UI settings\r\n[BS] [debug] Setting Option: urls - Map { \"local\": \"http://localhost:3000\", \"ui\": \"http://localhost:3001\" }\r\n[BS] [debug] +  Step Complete: Merge UI settings\r\n[BS] [debug] -> Starting Step: Init user plugins\r\n[BS] [debug] Setting Option: userPlugins -\r\n[BS] [debug] +  Step Complete: Init user plugins\r\n[BS] Access URLs:\r\n ----------------------------\r\n Local: http://localhost:3000\r\n ----------------------------\r\n    UI: http://localhost:3001\r\n ----------------------------\r\n[BS] Serving files from: ./\r\n[BS] Watching files...\r\n```\r\n\r\n### Please specify which version of Browsersync, node and npm you're running\r\n\r\n- Browsersync [ 2.24.5 ]\r\n- Node        [ 6.14.3 ]\r\n- Npm         [ 6.1.0 ]\r\n\r\n### Affected platforms\r\n\r\n- [x] linux\r\n\r\n### Browsersync use-case\r\n\r\n- [x] CLI\r\n\r\n### If CLI, please paste the entire command below\r\n\r\n`browser-sync start --config bs-config.js --no-online --host=127.0.0.1`"}}
{"actor":{"display_login":"lkraav"}}