How do I know which ports are open on my system?

To get a list of listening network ports (TCP/UDP sockets):

1. Login to your dedicated server as root user.
2. Issue these commands:

netstat -tulp or lsof -i -n | egrep 'COMMAND|LISTEN|UDP'

  • learning, linux, openports
  • 0 Users Found This Useful
這篇文章有幫助嗎?

相關文章

Common Linux Shell Command Reference

If you want to copy all the files and folders from /path/folder/ to /other_path/folder/ you...

How can I use SSH to connect to my server ?

How to use PuTTY to connect to a server   Start PuTTY by double-clicking its icon   You...

How do I change my hostname?

1. Login to server via SSH as root.2. Run the following command to change host name:3. hostname...

How do I find a file in Shell?

Type in "locate name_of_file_or_folder" > Press Enter

What is OpenVZ?

OpenVZ is container-based virtualization for Linux.

Powered by WHMCompleteSolution