TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #9 · 7 јан.

Иногда бывает ситуация когда 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

Hashtags

Резултати

Пронајдени 1 слични објави

Пребарај: #launchlaika

当前筛选 #launchlaika清除筛选
Airdrop Strikers™

@airdropstrikers · Post #1721 · 28.03.2024 г., 15:09

👑ATTENTION COSMIC PIONEERS! LAIKA IS OFFICIALLY BLASTING OFF!☑️ 🔼Live stream has ended !! We are the only ones in the industry who revolutionized the launch of LAIKA into low orbit and had a successful landing 🤖Go watch the recording for those who missed it 🎞https://youtube.com/live/4wBNnLoCMKg 📈This is YOUR UNIQUE chance to be part of history in the making! Don't miss out on the excitement – tune in NOW and witness the launch of Laika as it makes its way to the stars! 🔔 But wait, there's more! During the broadcast, they hosted an exclusive raffle for all participants! Grab your Laika tokens before they're all gone and secure your spot in history! #LaunchLaika#ToTheMoon ✈️Business:@ProjectPromoters✅