Unable to access service
mrxbox98
HOBBYOP

a year ago

Whenever I try to access my website on railway, I get a cloudflare bad gateway problem and in the http logs on the railway side I get:
"failed to forward request to upstream: connection refused"
My app is sveltekit run through turborepo. I run it on port 3000 and in railway have set the env variable PORT to 3000. The website works locally when I run it.

Solved

11 Replies

mrxbox98
HOBBYOP

a year ago

8af2cd0b-9efd-4387-b1a0-b4c13dd1c974


brody
EMPLOYEE

a year ago

service id please


mrxbox98
HOBBYOP

a year ago

6aa3563e-5910-4ff0-8bae-49f7c2528cc0


brody
EMPLOYEE

a year ago

please see this docs section -


mrxbox98
HOBBYOP

a year ago

1327121375382605800
1327121375688921300


mrxbox98
HOBBYOP

a year ago

It seems to be set on the correct port tho


brody
EMPLOYEE

a year ago

please read the docs section i linked


mrxbox98
HOBBYOP

a year ago

oh my bad, i think i fixed it now


mrxbox98
HOBBYOP

a year ago

yep works ty


brody
EMPLOYEE

a year ago

awsome


brody
EMPLOYEE

a year ago

!s


Status changed to Solved brody about 1 year ago


Loading...