#port error
65 messages · Page 1 of 1 (latest)
Which framework are you using?
pretty sure you're not meant to specify the port yourself
What's your start command?
I tried without that too still the same problem
You can do that too
Project ID?
You need to listen on 0.0.0.0
Project id : 853f80b1-bd39-4635-af14-c23854098eed
ok
sh setup.sh && streamlit run deploy.py --server.address=0.0.0.0
wait for a minute or two
ok
If it still fails try setting it to sh setup.sh && streamlit run deploy.py --server.address=0.0.0.0 --server.port=$PORT
i think problem is in this file
ok
redeploying now
add serverAddress = "0.0.0.0" in that file
Please share your URL
not tried that
why 8080?
That's what railway wants, it's also what heroku wants
instead you should listen on $PORT
yes I used heroku before I used $PORT everywhere
take a look at line 41
Try setting this as your start commandstreamlit run deploy.py --server.address=0.0.0.0 --server.port=$PORT
and share your deploy logs
hold on that says 8000, in my code it says 8080
ok
Ah oh well I'll leave you to it
port = int(os.environ.get("PORT", "8000"))
It defaults to 8000 if$PORTisn't set to anything
still nope
let me share my logs
these errors were not coming before
copy paste them here
try setting the variable NIXPACKS_LIBS=stdenv.cc.cc.lib