The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Security
.
google unix.com



Security Discuss UNIX and Linux computer and network security, cybersecurity, cyberattacks, IT security, CISSP, OWASP and more.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
domain linux server, open ports? ccfc1986 IP Networking 1 06-23-2008 08:53 AM
Script to automatically check ports in shell? arsonist Shell Programming and Scripting 4 05-13-2008 08:37 PM
Check open ports every ... MorchiuS Shell Programming and Scripting 2 08-03-2005 04:17 PM
check inbound traffic on ports sunoracle IP Networking 2 03-18-2002 04:34 PM
check inbound traffic on ports sunoracle UNIX for Advanced & Expert Users 1 03-18-2002 03:17 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-01-2008
itik itik is offline
Registered User
  
 

Join Date: Oct 2007
Location: Toronto, Ontario
Posts: 350
check ports on server

Hi All,

I've been using this to verify if ports is open on a server. For example I would like to check port 5887, "telnet ip.of.server 5887" using on dos. If there's response on it then I can say it's open, if not then it's close.

Is that assumption accurate?

Thanks for any comments you may add.
  #2 (permalink)  
Old 10-01-2008
ghostdog74 ghostdog74 is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2006
Posts: 2,422
see here

Last edited by ghostdog74; 10-01-2008 at 11:26 AM..
  #3 (permalink)  
Old 11-06-2008
kumarcbs kumarcbs is offline
Registered User
  
 

Join Date: Dec 2006
Posts: 7
hi

I thing so this command use full

netstat -an | grep LISTEN gives me a list of open ports this command work fine please check u r port or open/ closed
  #4 (permalink)  
Old 11-22-2008
Habitual's Avatar
Habitual Habitual is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 22
netstat -atnp -A inet | grep -i listen | uniq -c
shows what ports are open and what program is using them.
  #5 (permalink)  
Old 03-12-2009
techlinux techlinux is offline
Registered User
  
 

Join Date: Jul 2008
Posts: 86
netstat is usually best to use but lsof also shows similar info
ie.
lsof -i | grep port#
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 07:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0