Иногда бывает ситуация когда 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
Let’s celebrate the beauty and richness of global cultures — together!
📖“Dikorosy” (Wild Harvest) Fairy Tale Festival
✨ Special program: Tales from Afar
🗓 Saturday, May 24
🕔 5:00 PM – 6:00 PM
📍 Mayakovsky Park, Yekaterinburg
🔸 Story lineup:
1. The Guinea Fowl and the Caiman — Gabon
2. The Lonely Heart — Angola
3. The Magic Orange Tree — Haiti
4. The Boy and the Lion — Guinea
5. A Story About Mom — Côte d’Ivoire
6. The Cave Paintings — Algeria
7. The Mango and the Orange Tree — Benin
8. The Wisdom of Young Kofi — Mali
9. The Secret of the Golden Nile — Sudan
10. Ayo’s Dreams — Benin
📌 Organized with support from the Honorary Consulate of South Africa in Yekaterinburg
🌍 In celebration of Africa Day
💚 Come listen, wonder, and discover something new!
🌐 Official website:
https://dikorosyfest.ru/
#Dikorosy#TalesFromAfar#AfricaDay#CulturalDiversity#Yekaterinburg#AfricanStories#StorytellingFestival#MayakovskyPark#DiscoverUrals
🎉May 21 — World Day for Cultural Diversity for Dialogue and Development
Let’s celebrate the beauty and richness of global cultures — together!
📖“Dikorosy” (Wild Harvest) Fairy Tale Festival
✨ Special program: Tales from Afar
🗓 Saturday, May 24
🕔 5:00 PM – 6:00 PM
📍 Mayakovsky Park, Yekaterinburg
🌍Hear magical stories from Africa and the Caribbean, told in Russian by international students living in Yekaterinburg — a rare and inspiring experience for all ages.
🔸 Story lineup:
1. The Guinea Fowl and the Caiman — Gabon
2. The Lonely Heart — Angola
3. The Magic Orange Tree — Haiti
4. The Boy and the Lion — Guinea
5. A Story About Mom — Côte d’Ivoire
6. The Cave Paintings — Algeria
7. The Mango and the Orange Tree — Benin
8. The Wisdom of Young Kofi — Mali
9. The Secret of the Golden Nile — Sudan
10. Ayo’s Dreams — Benin
📌 Organized with support from the Honorary Consulate of South Africa in Yekaterinburg
🌍 In celebration of Africa Day
💚 Come listen, wonder, and discover something new!
🌐 Official website:
https://dikorosyfest.ru/
#Dikorosy#TalesFromAfar#AfricaDay#CulturalDiversity#Yekaterinburg#AfricanStories#StorytellingFestival#MayakovskyPark#DiscoverUrals
#Beijing_Review🇨🇳📕[PDF]⬇️
2 #October2025
#Weekly_Magazines
For learning, for free(dom).
@backupofmagazines
In this issue , the spotlight shines on #Xinjiang 70, celebrating seven decades of transformation in the autonomous region—from economic health to cultural heritage. Global topics include #PalestineRecognition, evolving #ChinaUS relations, and the healing potential of dialogue via the #XiangshanForum. Special features explore #RuralRevitalization and tech-driven change in Qingdao and Fujian, as #ScienceInnovation takes center stage. From the vibrant Grand Bazaar to a Somali expat’s vision, this issue captures both regional pride and global dialogue. #BeijingReview#CulturalDiversity#BeltAndRoad#EducationMatters#ChinaPerspective