title: webRTC check if stun server is beeing used
body: <p>I decided to create my own STUN server to use it together with the following  JS library <a href="https://simplewebrtc.com" rel="nofollow">https://simplewebrtc.com</a>. </p>
  
  <p>I decided to use this: <a href="http://www.stunprotocol.org/" rel="nofollow">http://www.stunprotocol.org/</a></p>
  
  <p>I have followed the instructions and it seems like the server is running. 
  The command <code>sudo lsof -i:3478</code> (3478 is the default port) outputs this: </p>
  
  <pre><code>stunserve 12856 user    3u  IPv4 232305      0t0  UDP *:3478 
  </code></pre>
  
  <p>I have also modified the JS library to use my server according to this instructions: <a href="https://github.com/andyet/SimpleWebRTC" rel="nofollow">https://github.com/andyet/SimpleWebRTC</a> (<code>peerConnectionconfig</code>).</p>
  
  <pre><code>peerConnectionConfig:{iceServers:[{urls:"stun:myServerHost:3478"}]}
  </code></pre>
  
  <p>But when I use tcpdump to capture the traffic on the server nothing is captured like the server is not used. Which server is then used if this one is configured?</p>