The simplest way to check opened ports in linux is to use the following ‘netstat’ command in a terminal :

netstat -nlapute