Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

kill connections to port 80

Posted on 2006-06-12
2
Medium Priority
?
1,378 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 1000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

671 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