In This Tutorial We Are Going To Learn How To Check The Port Number Of Server Whenever Its Is Connection Port Or Data Port Or How To Add A Custom Port In Redhat Enterprise Linux
It Is Very Simple To Check And Very Easy To Add A Custom Port In Redhat Enterprise Linux
Just Follow These Simple Steps
Step-1 Firstly Open The Linux In Your System And Login With The Rood In Redhat Enterprise Linux
Step-2 After Login With The Root Now Run This Command To Check The All The Ports Whenever Its Connection Port Or Data Port Or Its Tcp Or Udp Port
Here Is The Command To Check Or Add The Ports
#vim/etc/services
After Write This Command Then Press The Enter To See All The Ports Of Servers Connection Port Or Data Port Or All Ports In Linux
After Then Scrolling Down The Page And See All The Ports Which Used In Linux And This Ports Are Of Which USe
Step-3 After This Now If You Want To Add A Custom Port In Redhat Linux So How Can We Add The Custom Port In Linux
Here Is The Command
Vim /etc/services {Same Command Is There }
After This Now I Want To Add A Custom Port In This File
After Running This Command Which I Tell You Before Then Add The Custom Port For STelnet
Here You Can See The Picture
This Is All How To See The Ports Of Any Server In Linux Or How To Add Custom Port In Linux