R
Railway

✋|help

Application error is your app correctly listening on port?

GGpower11/29/2022
I deployed initially with connecting to postgres, I got this error, then I connected to postgres still got the same error thinking it might be solved. I don't know what else to do because this is my first time of deploying on railway Project id: 3c7e50eb-3a9a-4657-b42c-265330d10495
PPercy11/29/2022
Project ID: 3c7e50eb-3a9a-4657-b42c-265330d10495
UUUnknown User11/29/2022
Message Not Public
Sign In & Join Server To View
GGpower11/29/2022
It's a Django application
Jjackson11/29/2022
check that your project's PORT env var is set to 8000 in railway, unless you have a specific configuration with django that overrides this
GGpower12/1/2022
Thanks. But I am still getting an error after setting it, don't know if I did it correctly, but I will share the image
AAdam12/1/2022
Your port env variable and the port variable in your code should be set to the same value. If you would like to send your file where the server is configured I can point it out for you
GGpower12/6/2022
I specified the PGPORT on my code env and as well railway env, but I am still getting the error
AAdam12/6/2022
not PGPORT, PORT please send a screenshot of your error
GGpower12/7/2022
This is the error
AAdam12/7/2022
Is your PORT variable set?
GGpower12/7/2022
I don't know how to specify Port This is my first time deploying a web app How can I do that please
AAdam12/7/2022
Under the variables tab, create a variable called PORT set to a 4 digit number make sure your code is either pulling the port from the environment variables or is set to the same number
GGpower12/7/2022
Alright, thanks

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
Yarn install failing on new buildsHey! The yarn install step is failing for my new builds, seems to be a cache issue: `#11 2.413 erron8n webhookhow i can add webhook not local hostCan I put Lavalink server on your hosting?Lavalink, respectively, this is java. But on github, the archive needed for work exceeds the maximumNode 19.xIs there support for Node 19.x?Duplicate variables when setting up additional service for Sidekiq in a Rails projectHey team, firstly love your work. I've searched Discord/Google/help for advice on this already but IOnly re-deploy (not rebuild) upon env variable changeIs there a way to have Railway not do a rebuild (which can take 4-5 minutes) and just redeploy when How to stop a project from running and using execution hours temporarilyyessamesite cookies; public suffixHi dev team! Quick question. I couldnt find railway.app (and up.railway.app) on the public suffix lDeployment has crashed after upgradeCRASHED after running my nodejs directus app, everything running locally. Please help https://railwrailway run returns 400Any command, freshly logged in and linked project. Anything I should check? Statuspage is green.rust-overlay unable to download archivemore info in chatNodeJS server does not use connection keep-alive anymoreI moved my NodeJS http server from Heroku to NodeJS. It's just a school project, so it uses regular Deployment with build doesn't workHi I am trying to deploy my react app with npm run build command but it gives an error while buildinPath of a Nixpacks (google-chrome, chromedriver) [Python]Hello, with the latest update I could install `google-chrome` and `chromedriver` using Nixpacks by afailing to buildmy builds are failingI'm having issues with my deploymentI am trying to redeploy a project. Here is the response I am getting. ```bash #3 [internal] load meScheduling Jobs to run far in the futureHey there, I have a Typescript project running on Railway. I am looking to dynamically schedule a