R
Railway•12mo ago
kewi

Website Port

What port should i host an express.js website on for railway to work wiht ssl?
36 Replies
Percy
Percy•12mo ago
Project ID: N/A
kewi
kewi•12mo ago
ty also can i make a config file that creates a database every time i try to deply a repo
Brody
Brody•12mo ago
youd want to listen to the projects webhook and then deploy a the desired database template with the api
kewi
kewi•12mo ago
i chnage the ip to 0.0.0.0 but it didnt work
Brody
Brody•12mo ago
please read the docs page, dont skim read it
kewi
kewi•12mo ago
i did
Brody
Brody•12mo ago
it mentioned more than just the 0.0.0.0 host
kewi
kewi•12mo ago
yeah port is = process.env.PORT
Brody
Brody•12mo ago
can you share your repo
kewi
kewi•12mo ago
github repo?
Brody
Brody•12mo ago
yes please
kewi
kewi•12mo ago
GitHub
GitHub - kewwie/levels
Contribute to kewwie/levels development by creating an account on GitHub.
Brody
Brody•12mo ago
kewi
kewi•12mo ago
No description
Brody
Brody•12mo ago
please chill with the ping replies
kewi
kewi•12mo ago
Okay sorry
Brody
Brody•12mo ago
haha okay well that was still a reply, we are in the same chat dont worry ill see your message
kewi
kewi•12mo ago
I chat in a lot of big servers so just respond by defaul
Brody
Brody•12mo ago
no worries what does the railway url say when you visit it?
kewi
kewi•12mo ago
No description
Brody
Brody•12mo ago
send the railway domain please
kewi
kewi•12mo ago
wait what why does it work now lol i accedently closed my chrome an when i styarted it again it works
Brody
Brody•12mo ago
i have that effect
kewi
kewi•12mo ago
yeah youre too good but could i get help with one more thing?
Brody
Brody•12mo ago
for sure also, warrior nun pfp, based
kewi
kewi•12mo ago
i wanted to set up a postgrendb do i need to do anything special and can i get it hosted on a specific url?
Brody
Brody•12mo ago
when you have a project open, click the + New button > database > postgres then read this https://docs.railway.app/develop/variables#reference-variables the databases dont have custom urls, what would be the usecase for a custom database url?
kewi
kewi•12mo ago
idk so i dont have to update the git repo with the url
Brody
Brody•12mo ago
the ping replies
kewi
kewi•12mo ago
sorry forgot
Brody
Brody•12mo ago
please read the docs link
kewi
kewi•12mo ago
okay
kewi
kewi•12mo ago
okay thanks
Brody
Brody•12mo ago
honestly the whole page should answer all your questions 😆
Want results from more Discord servers?
Add your server