Timeout when trying to use BrowserSync


Hi, I’m working on a full stack JS application using Express. I’m trying to set up a Gulp workflow for my frontend including BrowserSync to refresh the page when I modify my content. I’m following the instructions in this post to set it up on port 8082, and I’ve gotten through to the part where Cloud9 gives me a script to paste into my index page. However, I get an ERR_CONNECTION_TIMED_OUT on the browser-sync-client file when I try to load it. Is this a temporary issue, or am I doing something wrong with my browser-sync config?

This is the file that the script is trying to load: http://HOST:8082/browser-sync/browser-sync-client.2.11.1.js (with HOST replaced with my actual hostname, of course).


Can you try netstat -tulpn | grep 8082 to see if it’s running correctly on that port. Does curl localhost:8082/browser-sync/browser-sync-client.2.11.1.js work?


@timjrobinson It appears to be running (I’m running browser-sync through gulp):
dualsaber:~/workspace (master) $ netstat -tulpn | grep 8082
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp6 0 0 :::8082 :::* LISTEN 6636/gulp

Curl from the cloud9 environment also works, but running it locally on my own machine times out the same as the browser does.