How to Test Internet Connection Speed in CentOS 8

The way to test the speed of the Internet connection in CentOS 8 is different from that in desktop systems, where it can be done simply in a browser. In this tutorial, we will install the Speedtest CLI and test the speed of the Internet connection using it. Installing Speedtest CLI in CentOS 8 First, we need to install wget if you don't have it. dnf install -y wget How we need to download the Speedtest CLI repository. wget -O speedtest.repo Now move it to the system repository list. sudo mv speedtest.repo /etc/yum.repos.d/ Check if other versions are installed on the system. rpm -qa | grep speedtest Remove them if found. sudo dnf remove speedtest-cli Now install the official version of Speedtest CLI. sudo dnf install speedtest Internet connection speed test To run the test, enter the following command and accept the license: speedtest Result: Do you accept the license? [type YES to accept]:…

Read time: 1 min Read more »

How to Find Out List of All Open Ports in Linux

In this How-to, I will show you briefly about ports in computer networking and explain how you can list all open ports in Linux. In computer networking, and more definitely in software terms, a port is a logical entity that acts as an endpoint of communication to identify a given application or process on a Linux operating system. It is a 16-bit number (0 to 65535) that differentiates one application from another on end systems. The two most popular Internet transport protocols, Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP) and other less known protocols use port numbers for communication sessions (source and destination port numbers in conjunction with the source and destination IP addresses). In addition, a combination of an IP address, port, and protocol such as TCP/UDP is known as a socket, and every service must have a unique socket. Below are the different categories of ports: * 0-1023 – the…

Read time: 5 mins Read more »

How to Check if Remote Ports are Reachable Linux, VPS, VDS, Server

A port is a logical entity that acts as an endpoint of communication associated with an application or process on a Linux operating system. It is useful to know which ports are open and running services on a target machine before using them. In some cases, ports can be closed by a Firewall or you are configuration your Firewall and would like to allow XX port to be accessible only from a specific IP address. We can easily list open ports in Linux on a local machine using the netstat or several other Linux commands such as NMAP. In this guide, I will show you how to determine if ports on a remote host are reachable/open using a simple Netcat (in short NC) command, for me as an Amber IT technical personal this is one of my favorite commands. netcat (or NC in short) is a powerful and easy-to-use utility that can be employed for…

Read time: 2 mins Read more »

Warning: file_get_contents([YOUR SITE URL]): failed to open stream: Connection refused in /var/www/vhosts/ on line 821