Guides tagged “ports”
Step-by-step MdmHost guides about ports, sorted A-Z.
12 guides
Check which ports are open and listening on Linux
Use ss and lsof to list every listening port on your VPS, find the process behind each one, tell localhost from public bindings and close what you do not need.
Close unused ports and disable unneeded services on Linux
Fewer running services means fewer things to patch and attack. List what listens on your VPS, disable what you do not use, bind private services to localhost and firewall the rest.
Common server ports and what uses them
A practical list of the ports you meet on a VPS, from SSH and web to mail, databases and Remote Desktop, with the protocol and whether each should be public or private.
Configure firewalld on AlmaLinux and Rocky Linux
Learn the firewalld basics on AlmaLinux and Rocky Linux: zones, opening services and ports, permanent versus runtime rules, and IP-restricted access.
Docker Compose file explained: services, volumes, networks and ports
A line-by-line walk through docker-compose.yml: what services, volumes, networks, ports and depends_on do, with a working example stack you can run on a Linux VPS.
Docker run flags you will actually use (-d, -p, -v, -e, --restart)
The docker run options that matter on a VPS, explained with examples. Covers detached mode, port publishing, volumes, environment variables, names, restart policies and resource limits.
Imunify360 firewall settings: ports, country blocking and DoS protection (root guide)
Configure the Imunify360 firewall as root: open and close TCP/UDP ports, block countries, enable DoS protection, and avoid locking out cPanel, mail or SSH.
Open and close ports in CSF (TCP_IN, TCP_OUT, UDP_IN, UDP_OUT)
Edit the CSF port lists to open a port for a new service, close ports you do not use, and restrict a port such as SSH to trusted IPs on a cPanel/WHM server.
Ports, protocols and TCP vs UDP explained
How ports and protocols let one server run many services, the real difference between TCP and UDP, and which one common services use.
Set up a UFW firewall on Ubuntu and Debian
Set safe defaults, allow SSH before switching UFW on, open only the ports you use, limit sensitive ports to your own IP, and tidy up old rules.
TCP vs UDP explained for server owners
TCP sets up a connection and guarantees delivery; UDP sends independent datagrams with no handshake. Learn the difference, which services use each and why firewall rules must name the protocol.
Which firewall ports a cPanel/WHM hosting server needs
A complete list of the ports cPanel, WHM, webmail, email, FTP, SSH and DNS use, which ones to open in your firewall, and which you can safely close.
Browse by topic
- Getting startedYour first hour with a new server: access, logins and basics.69 guides
- cPanelFiles, databases, email, domains and every cPanel tool, step by step.37 guides
- WHM & resellingWHM, packages, reseller accounts, WHMReseller and running a hosting brand.49 guides
- WordPressInstall, secure, speed up, migrate and fix WordPress sites.40 guides
- Email & webmailMailboxes, webmail, forwarders, spam filters and email delivery.37 guides
- DomainsRegistering, transferring and managing domains and nameservers.20 guides
- SSL certificatesFree AutoSSL, Let's Encrypt, paid certificates and HTTPS.19 guides
- CloudLinuxCloudLinux setup and use: LVE limits, CloudLinux Manager, CageFS and PHP/Node.js selectors.31 guides
- LiteSpeedLiteSpeed Web Server, LSCache and the LiteSpeed Cache plugin: install, settings and tuning.30 guides
- Imunify360Malware scanning, firewall and proactive defence with Imunify360.23 guides
- SoftaculousInstall, update, clone and back up apps with Softaculous.23 guides
- WP SquaredcPanel's WordPress platform: sites, plugins, staging and backups.9 guides
- SitePadBuild and publish websites with the SitePad builder.9 guides
- SitejetDesign, edit and publish sites with the Sitejet builder.9 guides
- WHMResellerAlpha and master resellers with WHMReseller: install, setup and use.12 guides
- VirtFusionInstall, set up and manage VirtFusion: hypervisors, packages, servers and WHMCS integration.7 guides
- VirtualizorManage your VPS with Virtualizor: power, OS reinstall, VNC, IPs and backups.30 guides
- PleskWebsites, email, databases and settings in the Plesk panel.52 guides
- DirectAdminUsers, domains, email and reseller tools in DirectAdmin.40 guides
- WHMCSBilling, automation, products and client management with WHMCS.51 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.106 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.115 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.34 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.52 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.64 guides
- Billing & accountInvoices, renewals, the client area and your account.9 guides
- TroubleshootingWhen something is not working: checks and fixes.68 guides
- Linux VPSSSH, packages, services and everyday Linux administration.70 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.58 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.58 guides
Still stuck?
Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.
