A NodeJS-based CLI client app runs in a computer inside the organization network to verify whether the UDP hole-punching (with Kobiton Data Center) is available
- The client app will communicate with the server running at Kobiton Data Center. Below is the network requirement for it to work, please make sure they're in allowlist of your firewall
Destination address | Application protocol | Comment |
---|---|---|
webrtc-check.kobiton.com:80 |
HTTP | The web service served requests from the client app |
webrtc-check.kobiton.com:41234 |
UDP | The UDP destination port that the client app uses to check the outgoing UDP packets |
- Download and install NodeJS version 8.x accordingly with your OS. If you already have NodeJS installed, make sure your NodeJS's version is 8.0 or newer
- Download the ./index.js to your machine. Let's say it's downloaded at
/tmp/
(in macOS) orC:/tmp/
(in Windows)
Make sure your computer stays inside the organization network i.e. in the office so that the client app can report correct network condition
- Open the Terminal app (in MacOS) or Command Prompt (in Windows)
- Navigate to the directory having the
index.js
as below
cd /tmp (in MacOS)
C:/tmp (in Windows)
- Execute the client app as below
node index.js
- Let it running, observe the result and follow the suggested action on the screen
This section is for Kobiton Technical Support staff
The app supports below parameters (with default values) so that we can override on executing if needed
SERVER_URL=http://13.213.3.169
: specify the server IP i.e. theapps/server
runs thereCLIENT_UDP_PORT=41234
: specifiy the port (in UDP) that the server app is listening