Test Network Connection: Difference between revisions

From IVS Wiki
Jump to navigation Jump to search
Created page with "{{Article | content = </onlyinclude> The server talks to the cameras over two ports. The following instructions will show you how to test the communication over both ports. *..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Article | content =  
{{Article | content =  
</onlyinclude>
</onlyinclude>
The server talks to the cameras over two ports. The following instructions will show you how to test the communication over both ports.
VALT communicates to the cameras over two ports. [[VALT_Technical_Specifications#Network_Architecture]]
*TCP 80 - HTTP
*TCP 80 - HTTP
*TCP 554 - RTSP video
*TCP 554 - RTSP video
The following instructions will show you how to test the communication over both ports.


<hr>
<hr>


#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>}}

Latest revision as of 18:09, 15 March 2024

VALT communicates to the cameras over two ports. VALT_Technical_Specifications#Network_Architecture

  • 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.