It looks like the bonescript.js that is loaded by the browser expects to find a websocket listening on port 80 as well as some other javascript files served from port 80 too.
Have a look at http://beaglebone.local/bonescript.js That looks like it could come from: /usr/local/lib/node_modules/bonescript/bonescript.js On Saturday, 26 July 2014 18:52:57 UTC+10, [email protected] wrote: > > I just bought a BeagleBoard Black (3.8.13-bone47) > > I see that it has apache running on port 8080 and nodejs (bonescript) on > port 80. > I want to swap those over, to get apache (which I'm more familiar with) > running on port 80. > I changed port 80 to 8000 in > /lib/systemd/system/bonescript.socket > /usr/local/lib/node_modules/bonescript/server.js > /usr/local/lib/node_modules/bonescript/bonescript.js > and rebooted, > and I can get apache running OK, and the basic documentation on port 8000, > but the demo scripts no longer work > e.g. getPlatform() returns > Exception: Module "bonescript" is not currently available > > What else do I need to edit to get bonescript to run ? > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
