Иногда бывает ситуация когда dev-сервер по какой-либо причине не закрылся и висит в процессах, занимая порт.
Это может быть из-за падения IDE или просто сам забыл погасить и закрыл терминал.
Для таких случаев я набросал простую функцию с командой:
kill_on_port() {
port=$(lsof -t -i:$1)
echo "KILL PROCESS:" $port
sudo kill -9 $port
}
alias killonport="kill_on_port $@"
Код поместить в ~/.bashrc и рестартнуть систему.
Если во время старта dev-сервера получаете ошибку что порт уже занят, просто выполните команду, подставив свой порт.
Bash
kill_on_port 8000
Скорее всего бесполезно, если другой процесс назначен на перезапуск вашего dev-сервера в случае падения.
Имя команды можете изменить на любое другое.
#linux
BNBET AMA Recap & Next Plans
New milestone reached — 10.86M MCAP.
Here’s everything we talked about during our recent AMA, from what’s been done so far to what’s coming next for BNBET.
Here’s what we’ve accomplished so far:
- Released a new feature called Polybets
- AVE listed
- Expanded to the Chinese community
- More KOLs onboarding
- CMC application submitted
BNBet keeps moving forward fast.
Next up for BNBet:
- UI/UX upgrade for a smoother experience
- Vault escrow integration (trusted 3rd-party) to build more trust
- Full BNBet platform integration for seamless access
- Upcoming collaboration and partnership
We keep moving, we keep building, we keep delivering.
#BNBET#BNB
Security first. Always. 🔶
$BNBet security is powered by
@Privy_io
, so your funds stay safe while you play, predict, and win.
Bet smart. Stay secure. #BNBet#BNB
Our tokens are officially locked 🔒
We’re here to build long-term, not short-term hype.
https://bscscan.com/tx/0x6d71cac9d7d9f2c7516f2ee5ad421d0942b475d9481ecdff3bb7707162f83749
#BNBet#BNBChain
$BNBet Whitepaper is out now 🔥
We’re building a fully onchain Betting market on BNB, simple, transparent, and for everyone.
Would love your feedback 👇
Read it here: https://bnbet.gitbook.io/whitepaper
#BNBChain#BNBet#KeepBuilding