port 1337 is already in use

arun03kumarTRIAL

4 months ago

during deployment of my strapi app I am getting port 1337 is already in use error

View Deploy details

ⓘ Deployment information is only viewable by project members and Railway employees.

3 Replies

4 months ago

Hello,

You had incorrect build and start commands set, I have removed them as you do not want to be running a development server when on Railway.

Now you will need to correctly configure your database connection as shown here -

https://github.com/railwayapp-templates/strapi/blob/main/config/database.js


brody

Hello,You had incorrect build and start commands set, I have removed them as you do not want to be running a development server when on Railway.Now you will need to correctly configure your database connection as shown here -https://github.com/railwayapp-templates/strapi/blob/main/config/database.js

arun03kumarTRIAL

4 months ago

Thank you for the reply.

Now I am getting this error: The port 8080 is already used by another application.

also when I go the deployed url it is giving me:

Attachments


arun03kumar

Thank you for the reply.Now I am getting this error: The port 8080 is already used by another application.also when I go the deployed url it is giving me:

arun03kumarTRIAL

4 months ago

I am using Strapi for my backend