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.
<pre> { “base_url”: “http://site.com”, “port”: “4567”, “use_port”: true, “secret”: “secret”, “bind_address”: “0.0.0.0”, “database”: “redis”, “redis”: { “host”: “127.0.0.1”, “port”: “6379”, “password”: “secret3”, “database”: “0” }, “bcrypt_rounds”: 12, “upload_path”: “uploads”, “relative_path”: “” } </pre>
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Sounds like your app is crashing. Check forever’s log file, does it contain any errors?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.