Иногда бывает ситуация когда 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
Hedera's ETF Potential and Price Correction
Hedera ($HBAR) emerges as a strong contender for a spot ETF in the USA, driven by its ecosystem development and high standards in security and transparency. Currently, it faces a correction after testing a resistance level at $0.260, now moving towards a support zone at $0.195. A sideways movement is anticipated in the coming weeks. BTC price aims for $84,000. Read more: Leviathan News
#Hedera#ETF#Crypto#HBAR#Bitcoin#Investing#Markets#Regulations
Coinbase Lists Solana Futures with CFTC
Coinbase Derivatives has filed with the CFTC to list Solana Futures, nano Solana Futures, and Hedera Futures, marking an expansion in their derivatives offerings for popular cryptocurrencies. For details, check the link: Coinbase Futures Filing.
#Coinbase#Solana#Hedera#Futures#CFTC#Investing#Crypto#DeFi#Finance#Trading#Markets#Blockchain#DigitalAssets#YFI#SEC#Regulation#CryptoNews#Innovation#Tech#VC
Notable Updates on Crypto Events and Funding
White House source confirms Cardano's Charles Hoskinson excluded from the March 8 Crypto Summit. Cardano hasn't engaged with the administration in policy talks. Additionally, DoubleZero Foundation raises $28M at $400M valuation, plans expansion. CANARY files S-1 for AXL ETF, focusing on blockchain interoperability.
#Cardano#Crypto#Hoskinson#DoubleZero#Blockchain#Funding#AXLETF#Web3#Investing#Valuation#Solana#XRP#Hedera#Stellar#TON#Sui#Bitcoin#VC#Testnet