I am trying to start my app on openshift. I have push it using git and when I navigate to cd $OPENSHIFT_REPO_DIR
and run command npm start
everything start successfully and app is running but when I try to start using rch or restarting from openshift website dashboard it give me error
Stopping NodeJS cartridge
Sun Jun 26 2016 05:58:24 GMT-0400 (EDT): Stopping application 'chat' ...
Sun Jun 26 2016 05:58:25 GMT-0400 (EDT): Stopped Node application 'chat'
Starting NodeJS cartridge
Sun Jun 26 2016 05:58:26 GMT-0400 (EDT): Starting application 'chat' ...
Waiting for application port (8080) become available ...
Application 'chat' failed to start (port 8080 not available)
Failed to execute: 'control restart' for /var/lib/openshift/576ee1c689f5cf9780000123/nodejs
Can someone help me how to solve this problem?