Use:

netstat -napt

To see what is listening and who (and from where) is connected.