Skip to Content

Releasing Ports with a specific number

Hello, so how can i release a given port number manually so when the program hang next time i can start it normally without rebooting the machine.

Alaa's picture

kill it

most probably the process is still running in the background (probably hanged), you need to kill it try


$ killall command_name

if this doesn't work try


$ killall -KILL command_name

you might want to learn more about process control from your distros documentation or by reading the following man pages


$ man kill
$ man killall
$ man 7 signal

ps and top are useful commands to learn bardo.

Alaa


"i`m feeling for the 2nd time like alice in wonderland reading el wafd"

ramez.hanna's picture

"netstat -np | grep tcp | gre


the best things in life are free --- so as myself

Conceptor's picture

for i in `pgrep application_e

Diaa Radwan

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


Dr. Radut | forum