Ports in Linux server?

MooseLucifer

Well-known member
Registered
Joined
May 20, 2016
Messages
149
Points
28
How to manage all ports in your Linux server? i.e open, close or list all ports existing on your server? is there a tool to manage ports with an user interface?
 

Efe Agbontaen

Member
Registered
Joined
Sep 4, 2020
Messages
49
Points
6
How to manage all ports in your Linux server? i.e open, close or list all ports existing on your server? is there a tool to manage ports with an user interface?
If you are looking for a tool to manage ports from CLI, then I use UFW.

If you need a tool with GUI and you are on a Linux server, then maybe you should ask within the Community of the Control Panel you are using. For example,
if you use cPanel, there might be a cPanel Plugin
if you use CWP, maybe there is an opensource Module for it etc

If you need GUI and you are on a Linux Personal Computer, I just saw one called GUFW. http://gufw.org/
 

fiz

Well-known member
Hosting Provider
Registered
Joined
Aug 6, 2020
Messages
116
Points
16
There are multiple ways to view listening ports.
  1. Netstat Command
    Bash:
    sudo netstat -lntup
  2. ss Command
    Bash:
    sudo ss -lntu
  3. Nmap Command
    Bash:
    sudo lsof -i
  4. lsof Command
    Bash:
    sudo lsof -i

The above commands can be used to list all listening ports. to Open or Close ports, I suggest CSF (ConfigServer Firewall). It also has a GUI Interface which you can enable in its config file.
 

hostguy

Member
Registered
Joined
Sep 9, 2020
Messages
49
Points
6
If you are using WHM then you can check all your ports in Config Server security and firewall.
Here go to "Firewall configuration" and check "Allow incoming TCP ports" and outgoing ports.

You can also check this file to check all your open ports:
/etc/csf/csf.conf
 
Newer Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top