Иногда бывает ситуация когда 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
NIDO Europe invites all members of NIDO Russia to an extraordinary general meeting. It will be held online.
Benefits
✅ Take part in shaping Diaspora affairs on a continental level.
✅ Attendance is free
✅ Network with business partners around the European continent
✅ Make new friends/acquaintances
✅ Pitch your ideas
✅ The most active unofficial participant from NIDO Russia positively representing our interests will receive a token of appreciation for voluntary contribution to the diasporan affairs on a continental level.
Take advantage of this golden opportunity.
Registered members can simply send me a short message saying "I'm interested", and we'll do the rest and hook you up.
Dr. Godwin Ibe,
Chairman, NIDO Russia
+79262385618
*This is a requisitioned EGM by members in accordance with the act of Parliament in the United Kingdom.
#nidoe#nidoEurope#nidorussia#nido#NigeriansInDiaspora#egm
NIDO Europe invites all members of NIDO Russia to an extraordinary general meeting. It will be held online.
Benefits
✅ Take part in shaping Diaspora affairs on a continental level.
✅ Attendance is free
✅ Network with business partners around the European continent
✅ Make new friends/acquaintances
✅ Pitch your ideas
✅ The most active unofficial participant from NIDO Russia positively representing our interests will receive a token of appreciation for voluntary contribution to the diasporan affairs on a continental level.
Take advantage of this golden opportunity.
Registered members can simply send me a short message saying "I'm interested", and we'll do the rest and hook you up.
Dr. Godwin Ibe,
Chairman, NIDO Russia
+79262385618
*This is a requisitioned EGM by members in accordance with the act of Parliament in the United Kingdom.
#nidoe#nidoEurope#nidorussia#nido#NigeriansInDiaspora#egm
NIDO Europe invites all members of NIDO Russia to an extraordinary general meeting. It will be held online.
Benefits
✅ Take part in shaping Diaspora affairs on a continental level.
✅ Attendance is free
✅ Network with business partners around the European continent
✅ Make new friends/acquaintances
✅ Pitch your ideas
✅ The most active unofficial participant from NIDO Russia positively representing our interests will receive a token of appreciation for voluntary contribution to the diasporan affairs on a continental level.
Take advantage of this golden opportunity.
Registered members can simply send me a short message saying "I'm interested", and we'll do the rest and hook you up.
Dr. Godwin Ibe,
Chairman, NIDO Russia
+79262385618
*This is a requisitioned EGM by members in accordance with the act of Parliament in the United Kingdom.
#nidoe#nidoEurope#nidorussia#nido#NigeriansInDiaspora#egm
😳➕7️⃣5️⃣2️⃣2️⃣🔣total profit from our VIP signals for the last week 🔝(28.10 - 04.11) 🔝
😎 As usual, my weekly report!
You can clearly see how our results have changed compared to last week.😊
The market is very positive and this is just the beginning, the bull run will show us all what big money is and I do not advise you to miss such a rare opportunity.
✈️ Let's fly guys! New week - New records!✈️
✅ +825% #GMI/SOL
✅ +476% #DOUG/SOL
✅ +436% #KAMALA47/WETH
✅ +411% #AVATAROS/SOL
✅ +370% #MORT/SOL
✅ +314% #JUJU/SOL
✅ +304% #WHATITIS/SOL
✅ +304% #🗳/SOL
✅ +264% #SPEANUT/WETH
✅ +263% #SUKI/SOL
✅ +249% #ÆHEDGE/SOL
✅ +242% #DEVCAT/SOL
✅ +228% #DOGI/WETH
✅ +219% #HUMAN/SOL
✅ +215% #TRINA/SOL
✅ +209% #SENDISM/SOL
✅ +206% #MAMA/SOL
✅ +205% #REDO/SOL
✅ +184% #EGM/SOL
✅ +178% #APPLE AI/SOL
✅ +147% #SOLANA/SOL
✅ +143% #EAR/SOL
✅ +138% #BUTTERFLY/SOL
✅ +133% #GHOSTEUS/SOL
✅ +117% #DEGENAI/SOL
✅ +113% #PDJT/WETH
✅ +108% #3DMAN/SOL
✅ +103% #MOMA/SOL
✅ +83% #B4TS4K/SOL
✅ +73% #BTCWIZARD/WETH
✅ +71% #ΧΑΧΑ/SOL
✅ +70% #PRUMP/SOL
✅ +70% #CHOPIN/SOL
✅ +70% #DEFORG/SOL
✅ +67% #MERLIN/WETH
✅ +57% #XAU/WETH
✅ +52% #EZSIS/SOL
❎ -50% #TSUYU/WETH
❎ -30% #PIPI/WETH
❎ -30% #SIGH/SOL
❎ -30% #PENGUIN/WETH
❎ -30% #SNOO/WETH
❎ -15% #GRUK/SOL
❎ -10% #NEKO/SOL
Join our VIP channel and get these results every day👇@Riley_Fe