Иногда бывает ситуация когда 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
#MATIC/USDT analysis -
#Matic is trading above the support zone and forming a rejection candle. It is expected to bounce off from there and test new highs.
TF : 1D
Entry : $0.5148
Target : $0.5740 & $0.6198
SL : $0.4579
#MATIC/USDT ANALYSIS
MATIC has broken out of a falling wedge pattern with strong volume. It is currently undergoing a retest, and a successful retest would confirm a bullish reversal. However, if the retest fails, the pattern's validity will be nullified.
💰#MATIC is losing bottom of the bullish channel on 1H Time frame,in the case of breakdown,it will drop until the Green zone
📉
❄️@signal_bitcoins❄️
❄️@Shadow_support0o❄️
💰#MATIC has a Bullish flag pattern on Weekly time frame,now price is trying to break up the flag pattern👀
We expect another bullish trend will start after breakout and pullback💎
❄️@signal_bitcoins❄️
❄️@Shadow_support0o❄️
💰#MATIC created a symmetrical triangle pattern successfully on Weekly time frame,we expect a huge drop on this chart
📉
Also we will buy it around $0.30 - $0.20✅
❄️@signals_bitcoin_crypto❄️
❄️@Shadow_support0o❄️
💰#MATIC price is near the bottom of bullish channel on 8H Time frame,if saved this area will have good pump again, atleast until ceiling of this pattern 💎
❄️@signals_bitcoin_crypto❄️
❄️@Shadow_support0o❄️
💰#MATIC is trying to break up the Supply zone,we will wait for a pullback to the broken supply then will buy and hold✅
❄️@signals_bitcoin_crypto❄️
❄️@Shadow_support0o❄️