Port is blocked by some program
Port access related problems will occur, During the fresh installation or reinstallation of programs such as Apache/MySQL. When you are starting a service in linux/unix and it says Address already in use or similar error..
It is common in Apache and solution is,
Case 1: You dont know which service is blocking that port
in this case.
fuser -k [portnumber]/[protocol]
Examples:
fuser -k 80/tcp
fuser -k 443/tcp
fuser -k 576/udp
fuser man page
Case 2: You know the name of program.
killall -9 programname
Examples
killall -9 httpd
killall -9 exim
once done.. restart the service now and remember this to handle port
blocks with “Ease in breadth”.
























You must be logged in to post a comment.