Issues deploying to railways, while it looked fine with on local host

man for some reason, when i try to interact with with my server hosted on railway via my front end i get this, i get this error in the console: I noticed this in the deploy logs:
npm WARN config production Use `--omit=dev` instead.
> node build/index.js
warn: DeprecationWarning: The Parse Server option 'directAccess' default will change to 'true' in a future version. Additionally, the environment variable 'PARSE_SERVER_ENABLE_EXPERIMENTAL_DIRECT_ACCESS' will be deprecated and renamed to 'PARSE_SERVER_DIRECT_ACCESS' in a future version; it is currently possible to use either one.
warn: DeprecationWarning: The Parse Server option 'enforcePrivateUsers' default will change to 'true' in a future version.
warn: DeprecationWarning: The Parse Server option 'allowClientClassCreation' default will change to 'false' in a future version.
info: Parse LiveQuery Server started running
WARNING, Unable to connect to 'http://mdserver-production.up.railway.app/server';. Cloud code and push notifications may be unavailable!
Moralis Server is running on port 1337 and stream webhook url https://8e49-34-168-155-222.ngrok.io/streams
npm WARN config production Use `--omit=dev` instead.
> node build/index.js
warn: DeprecationWarning: The Parse Server option 'directAccess' default will change to 'true' in a future version. Additionally, the environment variable 'PARSE_SERVER_ENABLE_EXPERIMENTAL_DIRECT_ACCESS' will be deprecated and renamed to 'PARSE_SERVER_DIRECT_ACCESS' in a future version; it is currently possible to use either one.
warn: DeprecationWarning: The Parse Server option 'enforcePrivateUsers' default will change to 'true' in a future version.
warn: DeprecationWarning: The Parse Server option 'allowClientClassCreation' default will change to 'false' in a future version.
info: Parse LiveQuery Server started running
WARNING, Unable to connect to 'http://mdserver-production.up.railway.app/server';. Cloud code and push notifications may be unavailable!
Moralis Server is running on port 1337 and stream webhook url https://8e49-34-168-155-222.ngrok.io/streams
3 Replies
Percy
Percy2y ago
Project ID: 56f04d4c-36b3-462d-aaee-d0bd22154e65
mattjaf
mattjafOP2y ago
56f04d4c-36b3-462d-aaee-d0bd22154e65
milo
milo2y ago
are you sure u should be using ngrok?
Want results from more Discord servers?
Add your server