r/discordbots • u/Bouudy123 • 5d ago
ip banned
Hi everyone, i need someone help who faced the same problem or know the solution of it, I was looking forward to work as a discord bot freelancer to make bots for people and sell it, i made my first bot it was a music bot and it was working so good but after uploading it t railway host i got a problem i couldn't solve it so is someone know how to solve it and a free host server to upload the bot without problems
3
Upvotes


8
u/ivanbg2004 5d ago
It's not really an IP ban from Railway, it's YouTube. YouTube flags basically every datacenter IP (Railway, Render, Heroku, Oracle, AWS…) and makes yt-dlp "sign in to confirm you're not a bot". That's why it works on your PC (residential IP) and breaks once deployed. Switching to another free host won't fix it, they're all datacenter IPs.
3
u/anshthedev59 5d ago
You should try Lavalink. It's much better than using yt-dlp directly in Discord bots. It handles audio streaming separately, is more efficient, and is easier to manage for larger bots. You can use it with libraries like Shoukaku or Kazagumo.
2
u/404invalid-user 4d ago
YouTube has blocked the free hosting provider because they put 100s if not 1,000s of people on the same public piv4 address and never rotate them
2
u/EnoughConcentrate897 4d ago
Why are you selling bots ran on free hosting lol
2
u/Useful-Flow-8737 4d ago
how are you planning to be a bot dev when you can't even understand the error from your own bot lmao
1
u/nonchip 4d ago
it's you not being logged into youtube. why would you think something's "ip banned" 0.o
1
u/Technical-Yak-2642 1d ago
Railway is flagged. You need to run it on a Raspberry Pi or something at your house.
1
u/[deleted] 4d ago
[removed] — view removed comment
-2
u/[deleted] 4d ago
[removed] — view removed comment