Pergunta de entrevista da empresa Quest Global

What is the Linux command to check on which port my web server is running.