Documentshow-to-make-sure-open-source-server-is-running-correctly
How to make sure open source server is running correctly
The open source server is built on the MEAN stack. Check the database, Node and the port, then check the player.
This applies to the open source server. See Open Source vs Self Hosted. Support for it is through the community.
On the server, make sure
- MongoDB (
mongod) runs without errors and listens on port 27017. - Node is running, and its console shows a message saying it is listening at port 3000.
- You watch the Node.js command console for errors.
- Port 3000 is open for external access on the server.
- The server URL loads in Chrome and shows the server UI.
If the player is not reported at the server
- Check that the Pi player can ping the server address.
- Make sure port 3000 is included in the server field on the Pi player.
- Try the address with the
http://prefix, not just the address and port.
instead ofhttp://{{your server address}}:3000{{your server address}}:3000 - If you edited
package.json, check it for syntax errors. - Check that no firewall is blocking port 3000.
- Check the player log:
tail -200 /home/pi/forever_log