Testing: Difference between revisions

Jump to navigation Jump to search
339 bytes removed ,  23 December 2012
no edit summary
No edit summary
Line 1: Line 1:
{{Template:Build a website}}
{{Template:Build a website}}
== connection test ==
=== case 1: Where are you? Wide Area Network (WAN) ===
open the browser
* and type the address: {{kbd | key =<nowiki>http://the.domain</nowiki>}}
* or use the remote website monitoring services: [[Web Ping]]
telnet
* telnet ''DOMAIN_or_IP'' ''PORT'' ex: {{kbd | key = telnet the.domain 80}}
=== case 2: Where are you? localhost where the application located ===
If you has permission to log in the server via SSH or Remote desktop service. open the browser
* type the address: <nowiki>http://127.0.0.1</nowiki>
* {{Gd}} [http://www.canyouseeme.org/ Open Port Check Tool]: ''Using browser'' to check the specified port of local machine from canyouseeme.org.
telnet
# {{kbd | key = telnet 127.0.0.1 80}}
# (after telnet-ed the web 80 port, key in) {{kbd_plus | key1 = get | key2 = SPACE}}
# more on [http://www.simplescripts.de/http-check-port-80-telnet-command.htm HTTP Check Port 80 with the Telnet Command]
netstat ex: find MySQL 3306 port
# {{kbd | key = <nowiki>netstat -a | find "3306"</nowiki>}} (note: require the '''double quote''' symbol, not single quote symbol)
# more on [http://www.techrepublic.com/blog/security/list-open-ports-and-listening-services/443 List open ports and listening services]
tools
# [http://portforward.com/help/portcheck.htm PFPortCheck Program]: check TCP/UDP port from localhost(where you installed the program) to portforward.com
# [http://technet.microsoft.com/en-us/sysinternals/bb897437 TCPView for Windows]




== user client node ==
== user client node ==
=== connection test ===
* Open the browser and type the address: <nowiki>http://the.domain</nowiki>
**  {{kbd | key=lynx  <nowiki>http://the.domain</nowiki>}} for {{linux}}
* or use the remote website monitoring services: [[Web Ping]]


=== browser issue ===
=== browser issue ===
Line 45: Line 73:


== local node (if you has permission to log in the server via SSH or Remote desktop service) ==
== local node (if you has permission to log in the server via SSH or Remote desktop service) ==
=== check the service port ===
==== from local node to service node ====
telnet
# telnet ''DOMAIN_or_IP'' ''PORT'' ex: {{kbd | key = telnet localhost 80}} or {{kbd | key = telnet 127.0.0.1 80}}
# (after telnet-ed the web 80 port, ) key in {{kbd | key = GET}} and  press  {{kbd | key = ENTER}}
# more on [http://www.simplescripts.de/http-check-port-80-telnet-command.htm HTTP Check Port 80 with the Telnet Command]
netstat ex: find MySQL 3306 port
# {{kbd | key = <nowiki>netstat -a | find "3306"</nowiki>}} (note: require the '''double quote''' symbol, not single quote symbol)
# more on [http://www.techrepublic.com/blog/security/list-open-ports-and-listening-services/443 List open ports and listening services]
tools
* [http://technet.microsoft.com/en-us/sysinternals/bb897437 TCPView for Windows]
==== from local or remote node to service node ====
telnet
# telnet ''DOMAIN_or_IP'' ''PORT'' ex: {{kbd | key = telnet localhost 80}} or {{kbd | key = telnet 127.0.0.1 80}}
# (after telnet-ed the web 80 port, key in) {{kbd_plus | key1 = get | key2 = SPACE}}
# more on [http://www.simplescripts.de/http-check-port-80-telnet-command.htm HTTP Check Port 80 with the Telnet Command]
==== from remote node to service node ====
tools
# {{Gd}} [http://www.canyouseeme.org/ Open Port Check Tool]: ''Using browser'' to check the specified port of local machine from canyouseeme.org.
# [http://portforward.com/help/portcheck.htm PFPortCheck Program]: check TCP/UDP port from localhost(where you installed the program) to portforward.com
# [[Web_Ping#網站連線測試]]: to test the port 80


=== check the server/service logs ===
=== check the server/service logs ===

Navigation menu