14,959
edits
| Line 8: | Line 8: | ||
* testing on localhost: | * testing on localhost: | ||
** Is service alive? | ** Is service alive? | ||
** OS firewall | ** OS firewall | ||
*** {{Linux}} | *** {{Linux}} | ||
**** (1) {{kbd | key = iptables -L}} to list all rules<ref>[http://wiki.centos.org/HowTos/Network/IPTables HowTos/Network/IPTables - CentOS Wiki]</ref> (2) rule with lower line-number will override the rule with higherer line-number<ref>[https://fedoraproject.org/wiki/How_to_edit_iptables_rules?rd=User_talk:Rforlot How to edit iptables rules - FedoraProject]</ref> | **** (1) {{kbd | key = iptables -L}} to list all rules<ref>[http://wiki.centos.org/HowTos/Network/IPTables HowTos/Network/IPTables - CentOS Wiki]</ref> (2) rule with lower line-number will override the rule with higherer line-number<ref>[https://fedoraproject.org/wiki/How_to_edit_iptables_rules?rd=User_talk:Rforlot How to edit iptables rules - FedoraProject]</ref> | ||
**** [https://fedoraproject.org/wiki/FirewallD FirewallD] rules ex: {{kbd | key = <nowiki>firewall-cmd --list-all-zones</nowiki>}}<ref>[https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7 How To Set Up a Firewall Using FirewallD on CentOS 7 | DigitalOcean]</ref> | **** [https://fedoraproject.org/wiki/FirewallD FirewallD] rules ex: {{kbd | key = <nowiki>firewall-cmd --list-all-zones</nowiki>}}<ref>[https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7 How To Set Up a Firewall Using FirewallD on CentOS 7 | DigitalOcean]</ref> | ||
**** [http://linux.die.net/man/8/semanage SELinux Policy Management] ex: {{kbd | key = <nowiki>semanage port -l</nowiki>}} to list open ports | **** [http://linux.die.net/man/8/semanage SELinux Policy Management] ex: {{kbd | key = <nowiki>semanage port -l</nowiki>}} to list open ports | ||
*** {{Win}} Firewall option? | |||
** protected by antivirus? | ** protected by antivirus? | ||
** connect to localhost ex: {{kbd | key= telnet 127.0.0.1 23}} where 23 is the port number where the service running | ** connect to localhost ex: {{kbd | key= telnet 127.0.0.1 23}} where 23 is the port number where the service running | ||