How to test if a port is open on a server?
Here in this tutorial we will explain to you “How to check if a port is open on your server or not?”
So let’s start this tutorial by watching this video to learn “How to test if a port is open on a server?
Follow the steps to check if a server has a port open via cPanel:
Phase 1 Log in to your cPanel and go to the File Manager section
Phase 2 Go inside public_html and create a new file i.e portopen.php
step 3 Once the file is created, right click on the file and select Edit option
step 4 Now copy the code given in the below link and paste it in the newly created php file https://pastebin.com/6Q5LXf91
(make sure you replace the host ip address with your actual server ip address and port you want to test)
Step::5 Now open your web browser and run this file with the same path as my domain is cricketfeed.
Now check result below
Once you hit this file, you will be able to see a list of all the ports that are open and closed
this much only!! Done.