Selasa, 21 Mei 2013

How to check an open port on Solaris

One of The Solaris operating system command is "netstat" , this tools function is to show the status of network activity, including open ports. When used alone, the "netstat -an" command will show all the open ports on the system. The "-a" option shows the state of all the ports. The "-n" option shows the network addresses as numbers rather than symbols. Combined with the "grep" command, you can see the status of a specific port.(use --help for complete detail )

Here is the example how to use it :
  • ·         Type the command "netstat -an" to obtain a list of all the open ports.  
  • ·         Type the command "netstat -an | grep 8080" to determine whether port "8080" is open.
  • ·         You can replace "8080" with any specific port that you are looking for
  • ·         Type the command "exit" to close the terminal session.


Tidak ada komentar:

Posting Komentar