{"action":"created","issue":{"url":"https://api.github.com/repos/Unitech/PM2/issues/1398","labels_url":"https://api.github.com/repos/Unitech/PM2/issues/1398/labels{/name}","comments_url":"https://api.github.com/repos/Unitech/PM2/issues/1398/comments","events_url":"https://api.github.com/repos/Unitech/PM2/issues/1398/events","html_url":"https://github.com/Unitech/PM2/issues/1398","id":91398483,"number":1398,"title":"Running on OSX - Connection Refused","user":{"login":"chromag9","id":13071953,"avatar_url":"https://avatars.githubusercontent.com/u/13071953?v=3","gravatar_id":"","url":"https://api.github.com/users/chromag9","html_url":"https://github.com/chromag9","followers_url":"https://api.github.com/users/chromag9/followers","following_url":"https://api.github.com/users/chromag9/following{/other_user}","gists_url":"https://api.github.com/users/chromag9/gists{/gist_id}","starred_url":"https://api.github.com/users/chromag9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chromag9/subscriptions","organizations_url":"https://api.github.com/users/chromag9/orgs","repos_url":"https://api.github.com/users/chromag9/repos","events_url":"https://api.github.com/users/chromag9/events{/privacy}","received_events_url":"https://api.github.com/users/chromag9/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-27T01:30:29Z","updated_at":"2015-07-22T10:34:28Z","closed_at":"2015-07-22T10:34:28Z","body":"When running PM2 in cluster or fork mode I can't connect to the app at all. I suspect I'm doing something stupid but it's just not working for me. I removed everything and start clean with only the following:\r\n\r\n-   nvm 0.25.4\r\n-   iojs 2.3.1\r\n-   express 4.12.4\r\n-   express-generator\r\n-   PM2 0.14.2\r\n\r\nThat's it. I create a basic new express app and I've tried the following:\r\npm2 start app.js\r\npm2 start app.js -i 4\r\n\r\nWhen I open my browser and go to the default URL (http://localhost:3000) I get connection refused. If I kill pm2 with a \"pm2 kill\" command and start up my app with \"npm start\" it works just fine.\r\n\r\nI've checked $HOME/.pm2/pm2.log and the logs directory. Everything looks fine. If I check with a \"pm2 monit\" or \"pm2 list\" it says the apps are online.\r\n\r\nI'm running OSX Yosemite.\r\n"},"comment":{"url":"https://api.github.com/repos/Unitech/PM2/issues/comments/123657789","html_url":"https://github.com/Unitech/PM2/issues/1398#issuecomment-123657789","issue_url":"https://api.github.com/repos/Unitech/PM2/issues/1398","id":123657789,"user":{"login":"Unitech","id":757747,"avatar_url":"https://avatars.githubusercontent.com/u/757747?v=3","gravatar_id":"","url":"https://api.github.com/users/Unitech","html_url":"https://github.com/Unitech","followers_url":"https://api.github.com/users/Unitech/followers","following_url":"https://api.github.com/users/Unitech/following{/other_user}","gists_url":"https://api.github.com/users/Unitech/gists{/gist_id}","starred_url":"https://api.github.com/users/Unitech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unitech/subscriptions","organizations_url":"https://api.github.com/users/Unitech/orgs","repos_url":"https://api.github.com/users/Unitech/repos","events_url":"https://api.github.com/users/Unitech/events{/privacy}","received_events_url":"https://api.github.com/users/Unitech/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T10:34:28Z","updated_at":"2015-07-22T10:34:28Z","body":"Can you paste the command under script -> start in your package.json?"}}