Free up Linux TCP/IP ports

1119390 pts.
Tags:
Linux
TCP/IP
For Linux, is there any way I can free up one of my TCP/IP ports? I used netstat -tulnap to see which ports are already in use. What's the next step for me?

Answer Wiki

Thanks. We'll let you know when a new response is added.

You could use tcpkill (part of the dsniff package) to kill the connection that is on the port which you need:

sudo tcpkill -9 port PORT_NUMBER

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Kevin Beaver
    How do you mean? What are you trying to accomplish? If you are going to "free up" a port then you'll need to stop running whatever service is using that port.
    27,415 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: