Difference between revisions of "Test Network Connection"

From IVS Wiki
Jump to: navigation, search
Line 10: Line 10:
  
 
#SSH into the server
 
#SSH into the server
#Run the following command to check port communication
+
#Run the following command to check port communication:
 
#*{{Code Block - Mini | text = <span class="code_regex">nc</span> <span class="code_option">-zv</span> <span class="code_5">[CAMERA IP]</span> <span class="code_3">[PORT]</span>}}
 
#*{{Code Block - Mini | text = <span class="code_regex">nc</span> <span class="code_option">-zv</span> <span class="code_5">[CAMERA IP]</span> <span class="code_3">[PORT]</span>}}
 
#*Example: {{Code Block - Mini | text = <span class="code_regex">nc</span> <span class="code_option">-zv</span> <span class="code_5">192.168.0.90</span> <span class="code_3">80</span>}}
 
#*Example: {{Code Block - Mini | text = <span class="code_regex">nc</span> <span class="code_option">-zv</span> <span class="code_5">192.168.0.90</span> <span class="code_3">80</span>}}

Revision as of 11:58, 15 March 2024

VALT talks to the cameras over two ports.

  • TCP 80 - HTTP
  • TCP 554 - RTSP video

The following instructions will show you how to test the communication over both ports.


  1. SSH into the server
  2. Run the following command to check port communication:
    • nc -zv [CAMERA IP] [PORT]
    • Example: nc -zv 192.168.0.90 80
  • If communication is good it will say Succeeded!.
  • If it fails it will say Connection Refused.

If it takes more than 5 seconds to give a response, the test will most likely timeout, and the connection is probably not good.