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 слични објави

Пребарај: #truelabnewera

当前筛选 #truelabnewera清除筛选
TRUE LABS

@truegames · Post #4 · 23.04.2024 г., 11:20

Welcome to the Official TRUELAB GAMES Telegram Channel! A NEW ERA IS COMING! This channel will be your VIP pass to the most thrilling adventures TrueLab has in store. Here’s what to expect: 🎮 Sneak peeks into works-in-progress and behind-the-scenes action, where pixels meet passion. 🏆 Exclusive heads-up on upcoming tournaments with tips to keep you ahead of the game. 🌐 First-hand announcements about promotions to enhance your TrueLab gaming experience. 🔥 Early alerts on new additions to our TRUE line of products – be the first to know and experience! Join the conversation, share your thoughts, and stay tuned – the future of TRUE is now, and it’s #TRUEtotheCore. 🔗 Stay connected. Stay informed. Stay TRUE. #TrueLabNewEra#GameOn