R
Railway•13mo ago
kewi

Website Port

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