15 Replies
Project ID:
fec32241-499a-4c5b-af0d-826fa71978bb
fec32241-499a-4c5b-af0d-826fa71978bb
Like I did this already:
app.listen(port, "0.0.0.0", function () {
console.log(
Server running at http://localhost:${port}
);
});To give your API a domain, you'd want to go to service settings and generate a domain
where are you defining the
port
variable?Top of my script
It’s just port = 3000
you're not listening to the PORT railway provides, you need to have your app listen on the
PORT
environment variable
read this for more info: https://docs.railway.app/guides/fixing-common-errorsBut every time before railway usually generates one automatically
Why so? I can use an env if I need to
Railway exposes a specific port when you deploy your app and routes requests from your domain to that port, for your app to receive those requests it needs to be listening to the port that railway exposes for your app, that port being in the
PORT
variablei see it works now thats. But can you help with this aswell please?
What is
zsign
, is it a binary in your repo?@loyahdev ping for visibility
its an app signer for iphone apps
you input an apple development certificate and it signs the app
okay and the second part of the question?
and yes it is a binary
its an executable sh file
i fixed it by using chmod +x
that was the solution fragly was going to propose, we just needed more information first to be sure if that would be the best solution
yup
ill add more info later on in requests sorry