You can check with the following command to see the opened/closed ports of a server:

======
# nmap -P0 -T4 -sV -p- Server_IP_Address

Starting Nmap 5.00 ( http://nmap.org ) at 2012-02-16 06:28 IST
Connect Scan Timing: About 90.53% done; ETC: 06:47 (0:01:47 remaining)
Interesting ports on xxx.xxxx.xx (Server_IP_Address):

Not shown: 65480 filtered ports, 41 closed ports
PORT STATE SERVICE VERSION
53/tcp open domain
110/tcp open pop3 Dovecot pop3d
143/tcp open imap Dovecot imapd
993/tcp open ssl/imap Dovecot imapd
995/tcp open ssl/pop3 Dovecot pop3d
2077/tcp open unknown
2078/tcp open ssl/unknown
2082/tcp open unknown
2083/tcp open ssl/unknown
2086/tcp open unknown
2087/tcp open ssl/unknown
2095/tcp open unknown
2096/tcp open ssl/unknown
8080/tcp open http Apache Tomcat/Coyote JSP engine 1.1
8 services unrecognized despite returning data.
======

Leave a Reply

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny