LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-08-2008, 03:51 AM   #1
Drunkenfetus
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Rep: Reputation: 0
Looking for the command to look at current ports that are open and responding


ANyone have that command? or any help .. easier to ask then to search for hours :P
 
Old 12-08-2008, 03:53 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,458

Rep: Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941Reputation: 1941
Code:
netstat -a
shows all. See man netstat for further details.
 
Old 12-08-2008, 04:15 AM   #3
Drunkenfetus
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
WOW TALK ABOUT FAST! THANKS!!!!

Does that also show current status of activity ports?
 
Old 12-08-2008, 04:19 AM   #4
Drunkenfetus
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Basically the problem im having is that station is not communicating to the main server. Everything is correct network connection etc. its like the station has a firewall and is blocking the port.
 
Old 12-08-2008, 04:30 AM   #5
vamsi_k
Member
 
Registered: Aug 2008
Posts: 66

Rep: Reputation: 18
try these commands :

netstat -tupl List internet services on a system
netstat -tup List active connections to/from system
 
Old 12-08-2008, 04:49 AM   #6
Drunkenfetus
LQ Newbie
 
Registered: Dec 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the help!
 
  


Reply


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
How to open and close ports on command line ? uncle-c Linux - Newbie 1 02-08-2008 10:23 AM
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
lsusb not responding with anything--not even a list of open ports! greenphreak Linux - Software 5 09-29-2007 10:07 PM
How to get responding processes of those ports? zkjian Linux - Server 7 05-08-2007 04:49 AM
Command for checking open ports? Snipersnest Linux - Security 8 02-17-2005 07:58 AM


All times are GMT -5. The time now is 11:08 AM.

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