Иногда бывает ситуация когда 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
🙋♂👀#JTO Fortune: Jito plans to launch a mobile trading app called JTX in July. The app will offer spot trading, with integrations with perpetual futures and prediction markets coming in the future.
🚀 Back to Back profits are made in the Premium Group
🎯🎯#JTO/USDT has covered all the target to give a Profit of 25% to all Premium Members
👁🗨Contact @futurechief to enter the Premium Futures & SPOT Group for daily gain
#JTO
Hanwha Asset Management договорилась с Jito о ликвидном стейкинге для ETP в Корее
Южнокорейская Hanwha Asset Management объявила о партнерстве с Jito Foundation для проработки инфраструктуры под биржевые продукты (ETP) на базе JitoSOL.
Фокус сотрудничества: интеграция JitoSOL в структуру ETP, кастодия в рамках регуляторных требований, риск-менеджмент и взаимодействие с регуляторами.
Отдельно отмечается, что JitoSOL крупнейший LST в Solana, с оценкой порядка $1 млрд по капитализации.
#JTO bounced from the Green zone and broken up the trendline on 4H Time frame,we are waiting for the next movement
📈
❄️@signals_bitcoin_crypto❄️
❄️@Shadow_support0o❄️
Opened a short #JTO
The asset showed systematic growth along the resistance slope, but this was followed by pressure from sellers.
We failed to test the upper boundary of the ascending triangle and we began to decline again, followed by a breakdown of the lower boundary.
Also, the coin again went under the moving MA50 and MA200, which is typical for a weak buyer. I assume that the token will continue to decline and gain a foothold under the moving averages.
Goals: $2.1601 - $2.0312 - $1.7708
Stop: $2.5798