How To Check The Port Number Of Any Server Or How To Add A Custom Port In Redhat Enterprise Linux

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

Screenshot (27)

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

Screenshot (28)

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

Screenshot (29)

This Is All How To See The Ports Of Any Server In Linux Or How To Add Custom Port In Linux

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s