Hello guys (and hello phenomlab again )
i’m here today because i’m facing some problem and i want to learn how to solve this correctly.
i’ve developed an app for a client with react (frontend) and nodejs (backend). Now i’m using digitalocean APP platform that deploy directly from my repository on github
i have a custom command to run the app in package.json
"prod": "concurrently \"pm2 start ./server/app.js --exp-backoff-restart-delay=100\" \"react-serve-build\""
when the deployement is finished i can see the frontend, but the backend dont work due for EADDRINUSE error, wich means that the port is already in use. The problem is that no matter what the port number is…i get always the same error…
so my question is, how to deploy correctly this app?