how to clear a port in linux
netstat -tulnap // list all ports and processes
netstat -anp|grep "port_number" // show port details
sudo fuser -k Port_Number/tcp // free the port needed
# or
lsof -n -i :'port-number' | grep LISTEN // get port details
# sample response: java 4744 (PID) test 364u IP0 asdasdasda 0t0 TCP *:port-number (LISTEN)
kill -9 PID // free portkill -9 $(lsof -t -i:8080)
Also in C++:
- typescript css modules in react
- install angular cli version
- iis stop
- install react dependencies
- how to push existing project to github
- powershell open device manager
- How to list all Git tags?
- vscode install commandline
- Failed to start nginx.service: Unit nginx.service not found.
- git not asking for password
- elixir continuous integration workflow in github
- write a program in shell script to find factorial of a number
- how to search for a word in files in linux
- download putty for ubuntu
- git stash pop index
- how to install curl in centos 7
- How to uninstall grepper google addon
- how to access bashrc on linux
- unable to get local issuer certificate git
- git reset soft head
- annullare i cambiamenti git
- git remove from staging
- git diff files only
- git push main