Home arrow Wiki arrow Who owns this port
Main Menu
Home
Help Docs
Newbies
Corporates
Gnu/Linux Distros
Programming
Databases
Links
Search
Regular
News
Interviews
Aaj Ka Tip
Aaj Ka Command
Community
Blogs
Wiki
Forums
Services
Free Software

Who owns this port Print E-mail

Several utilities exist to check which ports are open, who is connected to your system and even what process owns a port number.
First a few ground rules. Ports below 1024 are reserved for common services, and only root can use them. Standard port numbers can be found in /etc/services. The maximum number of ports is 65k, so you have more than enough Internet ports for all your services. Here are some useful utilities. Netstat is a command that will list both the open ports and who is connected to your system. You should run it like this:

netstat -an | more

This way you can find out who is connected to which service.
Another interesting command is the fuser program. This program can tell you which user and process owns a port. For example, the following command will tell you who owns port 6000:

fuser -v -n tcp 6000

< Previous   Next >



gnulinuxclub
Join Us
About Us
Contact Us
Support Us
Acknowlegdement
Login(only for dev.)

Royalty Free Images

O'Reilly User Group discount!




Powered By GIMP GIMP
Contact Webmaster Copyleft 2011 gnulinuxclub.org