a year ago
I am able to successfully deploy my app and Railway duly displays a link (myname)server-production.up.railway.app , but when I follow that link I get 'Application failed to respond'.
Deploy logs seem fine:
npm WARN config production Use --omit=dev
instead.
(myname)server@1.0.0 start
node server.js
Server is running on port 443
I have tried different port numbers.
My package.json contains (excerpt):
"main": "server.js",
"scripts": {
"start": "node server.js",
How can I expose my app to a web URL which can be visited by others please? All works fine locally- I can hit the service via http://localhost:443/ .
Apologies for any daft questions as this is all very new to me. Thanks!
3 Replies
a year ago
How does one solicit a response on this platform please?
a year ago
My apologies, I'm honestly not sure how this thread got lost, thank you for bumping.
The fix is simple though, please read this docs page -
Status changed to Solved Railway • about 1 year ago
a year ago
Thanks so much! That worked a treat. Much appreciated.