listen tcp 127.0.0.1:8001: bind: address already in use
$ ps aux | grep kubectl
$ kill -9 process_number_here
listen tcp 127.0.0.1:8001: bind: address already in use
$ ps aux | grep kubectl
$ kill -9 process_number_here
address already in use 0.0.0.0:8080
//To find the process id (PID) associated with the port
⇒ lsof -i tcp:3000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
node 44475 chen5 31u IPv4 0x8b1721168764e4bf 0t0 TCP *:strexec-s (LISTEN)
//Then to kill the process (Use -9 option to make sure the process dies immediately)
kill -9 44475
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us