---
title: "How to View Listening Ports with ConfigServer Security &#038; Firewall (CSF)"
description: "In this article: View Listening PortsRelated Tasks Whether you're working toward PCI compliance or general server hardening, closing unneeded open ports is an important step for improved performance..."
url: https://www.inmotionhosting.com/support/security/how-to-view-listening-ports-with-configserver-security-firewall-csf/
date: 2019-09-20
modified: 2021-11-04
author: "InMotion Hosting Contributor"
categories: ["Security"]
type: post
lang: en
---

# How to View Listening Ports with ConfigServer Security &#038; Firewall (CSF)

**In this article:**

- [View Listening Ports](#view)
- [Related Tasks](#tasks)

Whether you're working toward [PCI compliance](/support/security/how-to-pass-pci-scans/) or [general server hardening](/support/security/server-security-best-practices/), closing unneeded open ports is an important step for improved performance and security. WebHost Manager (WHM) has many security features available to help you achieve these goals. [ConfigServer Security & Firewall (CSF)](https://www.inmotionhosting.com/support/security/install-csf/) software has multiple capabilities which complement the others well.

CSF has more security features and is more versatile than the preinstalled APF. It also has a WHM interface for easier iptables management. If you have APF installed, we recommend you uninstall APF and [install CSF](/support/security/install-csf/).

Below we'll cover **how to view listening ports with ****ConfigServer**** Security & Firewall (****CSF****)**.

Improve performance and security today with our [VPS Hosting](https://www.inmotionhosting.com/vps-hosting) plans.

## View Listening Ports

1. [Log in to WHM](/support/edu/whm/log-into-whm/).
2. Select **ConfigServer Security & Firewall** on the left.
3. (Optional) Do you see a CSF update available instead of **Firewall Status: Enabled and Running**? If so, update CSF, **Restart csf+lfd** and **Return** before continuing.
4. Click **View Listening Ports**.

![](https://www.inmotionhosting.com/support/wp-content/uploads/2019/09/csf-listening-ports-1024x256.png)*Your installed server software will affect open listening ports*

## Related Tasks

Use the port, protocol, process ID (PID), user, command line (process name), and executable information for many tasks including the following:

- View only listening ports instead of [all current processes](/support/edu/whm/how-to-view-running-process-in-whm/)
- Get more info on the process ID in SSH using PS
- [Block unneeded ports in CSF](/support/security/server-security-block-ports-csf/)
- Stop processes using their respective settings managers or the [htop](/support/server/linux/stop-processes-in-htop/) SSH tool
- Cross-reference information from nmap port scanner and similar tools
- Improve web application security
- Pass [PCI compliance](/support/security/close-open-ports-for-pci-compliance/)
- [Managing profiles](https://www.inmotionhosting.com/support/security/how-to-manage-configserver-security-firewall-csf-profiles/) for certain situations
- Other server hardening tasks

*Before making any major changes, you may want to backup your CSF file just in case anything goes wrong.*

Are you trying to learn more about web security in general? There are many other ways you can secure your web activity for free. Check out our latest blog to learn [6 Ways to Secure Your Web Activity From Your Computer](https://www.inmotionhosting.com/blog/6-ways-to-secure-your-web-activity-from-your-computer/).
