Merhaba yönetim panelli bir botum var ve bu botuma shard açmaya çalıştığımda.
EADDRINUSE: address already in use :::8000 (Bu port zaten kullanılıyor) isminde bir hata alıyorum bunu nasıl çözebilirim?
It sounds like your admin panel and your bot are both trying to use port 8000. Can you make one of them use a different port by changing a value in your code or in .env
?
Otherwise, can you post your project name so we can see?
Proje adım: eiencommunit
I can’t see https://glitch.com/~eiencommunit, is it private?
Yes private
Yardım edecek yokmu ?
Any help?
Without seeing your code, I can’t help any more than the advice I already gave above
Sorry!
You need to give more information about your project. What have you tried?
const port = process.env.PORT || 8000
app.listen(port, () => console.log(Dashboard started: ${port}
)
ile dashboardımı aktif ettim
Ve 2. Shard aktifleştiğinde port kullanılıyor hatası alıyorum.
Ok, could you try changing the PORT variable in your .env
file to something other than 8000?
When you say “2nd shard” what do you mean? Do you have two Glitch projects doing the same thing?
.env dosyamdaki portu 4000 ile değiştirdim ancak shard açıldığında port kullanılıyor hatası almaya devam ediyorum.
Hmm… not sure how to help you
You could try searching your project for ‘port’ to check that port 8000 is not being hardcoded somewhere. Really the solution is with you figuring out how/why two services in your project are both trying to use port 8000.
pampa 80 yap portu
Yaptım ama hata çözülmedi 2.shard aktif olmaya başladığında tekrar hata veriyor.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.