cancel
Showing results for 
Search instead for 
Did you mean: 

How to open ports in Linux

Faizer Jameel
Frequent Advisor

How to open ports in Linux

Dear All
I need to open a couple of ports in the range of 6380-6392, 443 2163 and 2162.

How do I do it.
A bit of detail procedure of how to do it is required
Thanks in advance
'Faizer
4 REPLIES
Ivan Krastev
Honored Contributor

Re: How to open ports in Linux

Check in you firewal rules for blocking and change it.

What do you want to do exactly ? Install specific application, listening on that ports ?

regards,
ivan
Faizer Jameel
Frequent Advisor

Re: How to open ports in Linux

Please update me on how to do this.
Thanks
Jeeshan
Honored Contributor

Re: How to open ports in Linux

frankly speaking, you cannot open or close a port.

process or daemon itself can open ports. so you first identify, which process can open the ports that you specified.
a warrior never quits
Karthikeyan.j
Frequent Advisor

Re: How to open ports in Linux

To Check whether the Process is running and listening on the ports

netstat -an | grep port number

or netstat -tulp | grep port number

or Just telnet ipaddress portnumber if the session opens the port is open and listening .

To check if the firewall is enabled .
service iptables status


Karthik