Testing: Difference between revisions

Jump to navigation Jump to search
18 bytes added ,  7 December 2015
no edit summary
No edit summary
Line 1: Line 1:
{{Template:Build a website}}
{{Template:Build a website}}


== troubleshooting steps for connection test ==
find the problem occurred: (1)local service (2)server to LAN (3)server to WAN
WAN o ------- o LAN ------- <span style="color:red">o localhost</span>
* testing on localhost:
** Is service alive?
** OS firewall ex: server with iptable limit for {{Linux}}? Firewall option for {{Win}}?
*** {{Linux}} (1) {{kbd | key = iptables -L  --line-numbers}} 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>
** protected by antivirus?
** connect to localhost ex: {{kbd | key= telnet 127.0.0.1 23}} 23 is the port number where the service running


WAN o ------- <span style="color:red">o LAN ------- o localhost</span>
* testing on LAN: Is service alive? The servers between LAN or with the same ip class (ex: 1.2.3.*) often without firewall limit.
** double [[Testing#check_the_server.2Fservice_logs | check the server/service logs]]
<span style="color:red">WAN o ------- o LAN ------- o localhost</span>
We met the trouble on WAN
* testing on WAN: Down for everyone or just me? Check by [[Web_Ping#同時從世界各處測試網站連線 | Web Ping]]
* is gateway alive?
* is DND alive?
other issue:
* bandwidth cost too much by certain users,
* exceed the request limit of firewall
* the external connection of updated Windows was down until reboot {{Win}}
* Amazon EC2 security group
== connection test ==
== connection test ==
=== case 1: Access the server from outside network ex: WAN ===
=== case 1: Access the server from outside network ex: WAN ===
Line 40: Line 68:
# [http://technet.microsoft.com/en-us/sysinternals/bb897437 TCPView for Windows]
# [http://technet.microsoft.com/en-us/sysinternals/bb897437 TCPView for Windows]


=== troubleshooting steps ===
find the problem occurred: (1)local service (2)server to LAN (3)server to WAN
WAN o ------- o LAN ------- <span style="color:red">o localhost</span>
* testing on localhost:
** Is service alive?
** OS firewall ex: server with iptable limit for {{Linux}}? Firewall option for {{Win}}?
*** {{Linux}} (1) {{kbd | key = iptables -L  --line-numbers}} 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>
** protected by antivirus?
** connect to localhost ex: {{kbd | key= telnet 127.0.0.1 23}} 23 is the port number where the service running
WAN o ------- <span style="color:red">o LAN ------- o localhost</span>


* testing on LAN: Is service alive? The servers between LAN or with the same ip class (ex: 1.2.3.*) often without firewall limit.
** double [[Testing#check_the_server.2Fservice_logs | check the server/service logs]]
<span style="color:red">WAN o ------- o LAN ------- o localhost</span>
We met the trouble on WAN
* testing on WAN: Down for everyone or just me? Check by [[Web_Ping#同時從世界各處測試網站連線 | Web Ping]]
* is gateway alive?
* is DND alive?
other issue:
* bandwidth cost too much by certain users,
* exceed the request limit of firewall
* the external connection of updated Windows was down until reboot {{Win}}
* Amazon EC2 security group


== user client node ==
== user client node ==

Navigation menu