Check what ports are open

There are two good methods to see what ports are open in Linux you can use
nmap which is a port scanner and you can use netstat.

nmap can be used to scan your machine to see whats ports are open issue the
following command to scan your computers machine:

nmap -sS -O

The second method was netstat. netstat can show hidden ports and what programs using
them issue the following command as root:

netstat -nap
Can't connect to WinServ 2008 SP2: "internal license error"
solution to "error while loading shared libraries"