#port error

65 messages · Page 1 of 1 (latest)

eager locust
#

Please help I am getting this error

#

I have set port to 3000 in env var too

lime compass
#

Which framework are you using?

eager locust
south topaz
#

pretty sure you're not meant to specify the port yourself

lime compass
#

What's your start command?

eager locust
#

I tried without that too still the same problem

lime compass
delicate wadi
#

Project ID?

eager locust
lime compass
#

You need to listen on 0.0.0.0

eager locust
#

Project id : 853f80b1-bd39-4635-af14-c23854098eed

eager locust
#

ok

lime compass
eager locust
#

sure let me try this thanks

#

still not working

#

same error

lime compass
#

wait for a minute or two

eager locust
#

ok

lime compass
#

If it still fails try setting it to sh setup.sh && streamlit run deploy.py --server.address=0.0.0.0 --server.port=$PORT

eager locust
#

i think problem is in this file

lime compass
eager locust
#

still same 😦

verbal musk
#

You're supposed to listen on port 8080 aren't you?

#

I specify it myself in my code

lime compass
eager locust
lime compass
verbal musk
#

That's what railway wants, it's also what heroku wants

lime compass
#

no?

#

neither of them want apps to listen on 8080

verbal musk
#

It's what the starter projects set by default isn't it?

#

iirc

lime compass
#

instead you should listen on $PORT

eager locust
verbal musk
#

take a look at line 41

lime compass
#

and share your deploy logs

verbal musk
#

hold on that says 8000, in my code it says 8080

eager locust
#

ok

verbal musk
#

Ah oh well I'll leave you to it

lime compass
eager locust
#

let me share my logs

#

these errors were not coming before

lime compass
#

copy paste them here

eager locust
#

ok

lime compass
#

try setting the variable NIXPACKS_LIBS=stdenv.cc.cc.lib

eager locust
#

ok

#

same error again

#

you know what I will try to make a docker container and try to deploy it

#

this is clearly not working

#

thanks for trying 🙂

verbal musk
#

oh my god I’m so sorry I thought this help message was in a different server, that’s why I responded with stuff about the snake docs

#

forgive me it’s 3am and I was just helping someone over there

#

good luck with your issue!