Saturday 11 January 2014

How to open the port in the server

 If you want to open an incoming TCP port, type the following in the SSH as root user:
# iptables -I INPUT -p tcp --dport 12345 --syn -j ACCEPT
# service iptables save

 If you want to open an incoming UDP port, type the following in the SSH as root user:
# iptables -I INPUT -p udp --dport 12345 -j ACCEPT
# service iptables save

No comments:

Post a Comment

ERR_CONTENT_DECODING_FAILED

If you are getting the error as ERR_CONTENT_DECODING_FAILED while accessing the domain then add the below extension in php.ini  ++++++++...