How to open port on server.

Hello Friends,

Following are the commands to open tcp or udp ports on the server.

Before using commands for opening the port please make sure the specific port is already opend and what is the use of that port.

you can verify the port withCloud Hosting

netstat -nap | grep : <port no>

1.you can open TCp port with

iptables -A INPUT  -p tcp –dport <port no> -j ACCEPT

2. You can open UDP port with

iptables -A INPUT -p udp –sport <port no>  -j ACCEPT

after that

3 service iptables save

and for flushhing iptables us

iptables -F

Like this post ?

Share on your Social Networking Profile ( Facebook, Twitter & Google+ ) and get a flat 10% Recurring discount on our VPS Hosting and Dedicated Servers.

Email us the shared link at : sales@eukhost.com or speak to our live chat operator now, by clicking on the “Live Chat” Scroller on the left-hand side of this page and we will provide you with the discount Coupon right away!



Online 24X7 Chat Support
 
 
Telephone
Toll Free
Online chat
 
Online 24X7 Email Support
 
Emails
 
 
 
Support
Support email
sales
Sales email
 
Billing
Billing email
 
   
Latest Tutorials & Articles (Updated Daily)
http://blog.eukhost.com
  Forums :
http://forums.eukhost.com/