linux - Freeing up a TCP/IP port?
 This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.

As the others have said, you'll have to kill all processes that are listening on that port.  The easiest way to do that would be to use the fuser(1) command.  For example, to see all of the processes listening for HTTP requests on port 80 (run as root or use sudo):
# fuser 80/tcp

If you want to kill them, then just add the -k option.
