Search code examples
scalaubuntuplayframework-2.0serverproduction

Play Framework app can't be deployed when ssh session stopped


I am trying to deploy a play framework app on my remote virtual private server hosted by OVH. My VPS is on ubuntu 14.10 server. Therefore, I read the documentation and I used the command line: activator start instead of activator run to deploy in production my app. I can see the page loaded on the 9000 port however once I stop my SSH session, the website is down. Is that normal ?


Solution

  • Have you tried to press CTRL+D after the server is started?

    Please read this: https://www.playframework.com/documentation/2.3.7/Production