Rust Rocket API not exposed
hey guys im trying to deploy my rust rocket API, on localhost it works fine but when deployed it doesn't resolve
im listening to the env var PORT if that doesnt exist it'll assume port 8000
(localhost8000) works fine
13 Replies
Project ID:
N/A
Solution
do you have a
ROCKET_ADDRESS
service variable set to 0.0.0.0
?no i dont
on localhost i dont either
try it
ok thanks b 1 min
this page explains more - https://docs.railway.app/guides/fixing-common-errors
brody
my friend
its working now, thanks alot
no problem
wheres the solved button
I disabled it
ohaaa
okay then, thanks alot bro you're always so speedy
happy to help