Port Open | Your secret spy resident for Linux, web server and hardware

Posts tagged ‘port open’

How to check open connections in Linux

Using netstat utility in Linux it is possible to see not only opened connections, but also to see which ports are open at current connection.

To do so, type: netstat –nap

netstat port list

use netstat –help for more information.

How to check open ports on your Linux system

 

To check open ports on your Linux system you will need following package: nmap

Debian/Ubuntu got his package in standard repository already for ages.
Installing the nmap.

image

To have simple check play with your local host IP, usually it’s 127.0.0.1.  To do so, type: nmap -sS -O 127.0.0.1

image

In this example it’s clear which port are open:

22/tcp    open  ssh
139/tcp   open  netbios-ssn
445/tcp   open  microsoft-ds
3306/tcp  open  mysql
10000/tcp open  snet-sensor-mgmt