Troubleshooting Forever and Node.JS port

Posted March 20, 2014 3.9k views
I'm using Forever to start a Node.JS app which should be listening on a specific port (4567). However, when I start the app, the port is never opened and does not show up in the output of nmap or netstat and nothing is being written to syslog about it. I've looked at possible clues that I know that could help solve this, but nothing has worked. Anybody has any ideas what could be causing the port to not open after I start the app. The apps config file is shown below.
    "base_url": "",
    "port": "4567",
    "use_port": true,
    "secret": "secret",
    "bind_address": "",
    "database": "redis",
    "redis": {
        "host": "",
        "port": "6379",
        "password": "secret3",
        "database": "0"
    "bcrypt_rounds": 12,
    "upload_path": "uploads",
    "relative_path": ""

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer
Sounds like your app is crashing. Check forever's log file, does it contain any errors?