R
Railway11mo ago
Floris

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
Solution:
do you have a ROCKET_ADDRESS service variable set to 0.0.0.0?
Jump to solution
13 Replies
Percy
Percy11mo ago
Project ID: N/A
Solution
Brody
Brody11mo ago
do you have a ROCKET_ADDRESS service variable set to 0.0.0.0?
Floris
FlorisOP11mo ago
no i dont on localhost i dont either
Brody
Brody11mo ago
try it
Floris
FlorisOP11mo ago
ok thanks b 1 min
Floris
FlorisOP11mo ago
brody my friend its working now, thanks alot
Brody
Brody11mo ago
no problem
Floris
FlorisOP11mo ago
No description
Floris
FlorisOP11mo ago
wheres the solved button
Brody
Brody11mo ago
I disabled it
Floris
FlorisOP11mo ago
ohaaa okay then, thanks alot bro you're always so speedy
Brody
Brody11mo ago
happy to help
Want results from more Discord servers?
Add your server