Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-13-2007, 10:06 PM   #1
Registered: Mar 2005
Distribution: Ubuntu 12.04 LTS
Posts: 249

Rep: Reputation: 16
How to view ports in use

I've got a DNS server running on port 53 (as indicated by a successful "telnet mynameserver 53" from a client machine), and I'd like to confirm through the netstat or another command that port 53 is being used, and by the "named" process.

My initial guess was to do a "netstat | grep 53", but that clearly isn't correct. Do you know what command I could use, if any exists, to accomplish this?

Old 07-13-2007, 10:40 PM   #2
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Try this: netstat -atu Type: man netstat to get a list of switches.

Last edited by {BBI}Nexus{BBI}; 07-13-2007 at 10:47 PM.
Old 07-13-2007, 11:14 PM   #3
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

Rep: Reputation: 37
like to confirm through the netstat or another command that port 53 is being used, and by the "named" process.

You can try with
nmap localhost
This will list all the open ports in your mcahine.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
KDE Konqueror View Mode Icons (Image Preview/Tree View) sadarax Linux - General 7 06-27-2006 12:45 PM
how to view movies that only windows media player can view? servnov Linux - General 7 02-08-2006 10:42 AM
view ports currently in use jcombs_31 Linux - Networking 2 11-15-2005 03:53 PM
W2K cannot view samba share but can view NT FiveFlat Linux - Software 3 06-10-2005 02:54 PM
View/close ports SlAiD Linux - Security 4 02-20-2005 07:19 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration