Solved

kill connections to port 80

Posted on 2006-06-12
2
1,356 Views
Last Modified: 2013-12-16
How do I kill all programs which have an open connection to port 80?

Or also is there a way to drop the network connections --- would that be better?
0
Comment
Question by:bryanlloydharris
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 43

Accepted Solution

by:
ravenpl earned 250 total points
ID: 16892053
> How do I kill all programs which have an open connection to port 80?
find it's PID/name with 'netstat -tnp | grep ":80"' - kill it with 'kill PID' or 'kill -KILL PID'

> Or also is there a way to drop the network connections --- would that be better?
Single one - impossible.
Ok, it's possible, but requires to You to intercept such connection, then instead of regular packet You could send RST packet.
0
 
LVL 3

Author Comment

by:bryanlloydharris
ID: 16892983
Thansk!!!
0

Featured Post

Use Filtering Commands to Process Files in Linux

Learn how to manipulate data with the help of various filtering commands such as `cat`, `fmt`, `pr`, and others in Linux.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question