NodeJS Deploy not working

I just solved it, Let me explain the problem incase of anyone going through same issue right now.
the problem was that i had an environmental variable named PORT and the also another variable name PORTS i tried using the Later as the service port and the Former as the database port, but the service was trying to run on the database port and my service is running in another port. It works perfectly now THANKS