Solved

kill connections to port 80

Posted on 2006-06-12
2
1,341 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

751 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