#Problems with node js api

12 messages · Page 1 of 1 (latest)

lapis pewter
#

the project on localhost works perfectly, however when I deployed it to the platform a page appears with the following message "Application failed to respond". Is there any log to check why the application is not working?

feral kiteBOT
#

Project ID: 35ac5876-c43a-49c8-a7db-d920ce60eb07

lapis pewter
fringe spire
#

are you using the port that railway gives you?

#

the PORT env variable

lapis pewter
#

yes

fringe spire
#

okay I'm out of ideas

#

a conductor or at least someone who knows more than I do should be able to help you soon

lapis pewter
#

the first time I uploaded the code it worked fine, but I got an unsupported mysql error. So I installed mysql2 from there it stopped working, even going back to normal mysql.

lapis pewter
#

I believe the error may be in the port. Where do I find the API port? I was confusing the port of mysql with that of the api

#

It worked, it was really the door, thanks

serene onyx