How to test if a port is open or not on any server?
Here in this tutorial we will explain you “How to test if a port is open or not on your server?”
So let us begin this tutorial by watching out this video to learn “How to test if a port is open or not on any server?”
Follow the steps to test if a port is open or not in any server via cPanel:
Step::1 Login to your cPanel and go to File Manager section
Step::2 Go inside public_html and create a new file i.e portopen.php
Step::3 Once the file is created, right click over the file and choose the Edit option
Step::4 Now copy the code given in the link below 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 ports which you would like to test)
Step::5 Now open your web browser and run this file with the exact path like my domain is cricketfeed.tk so i a going to enter the following URL
Now check the result below
Once you hit this file, you will be able to see the list of all ports which are opened and closed
That’s it!! You’re done.
If you enjoyed this tutorial, please consider following us on Facebook and Twitter.
Facebook Page- https://facebook.com/redserverhost
Twitter Page- https://twitter.com/redserverhost.com
If you have any query, feel free to let us know via the comments section below.