title: WebRTC on isolated LAN without ice/stun/turn server
body: <p>On an isolated LAN, is there any way that a WebRTC connection can be made simply with the IP addresses assigned by the DHCP server?</p>
  <p>I understand that I can accomplish this with Node.js and Socket.io - but I was really hoping to avoid setting up that kind of server with my limited skill set.  I'm a science teacher who dabbles in programming, so feel free to <em>keep it simple</em>.  Thank you!</p>
  <h3><em><strong>UPDATE</strong></em></h3>
  <p>Alex, you are correct that I can avoid using a STUN server if all of the computers are on the same local network.  Although I had to bite the bullet and install Node.js on my laptop, it was really wasn't complicated.  I then tried a whole bunch of 'working examples' that didn't work for me, until I found <a href="https://web.archive.org/web/20190910011120/http://www.justgoscha.com:80/programming/2014/03/07/simple-webrtc-datachannel-establishment-for-dummies.html" rel="nofollow noreferrer">this one</a> and his <a href="https://github.com/JustGoscha/simple-datachannel" rel="nofollow noreferrer">GitHub files</a>.</p>
  <p>After running the server script in Node, I had a <code>DataChannel</code> connection between two browser windows on the same machine, but not between different computers.  I edited the .html files to point to my local server IP address instead of <em>localhost</em> and I could then connect with multiple computers.  Then came the real test - could I use this without an internet connection?  I found the line that specified using Google's STUN servers and changed it from</p>
  <p><code>var config = {&quot;iceServers&quot;:[{&quot;url&quot;:&quot;stun:stun.l.google.com:19302&quot;}]};</code></p>
  <p>to just</p>
  <p><code>var config = {&quot;iceServers&quot;:[]};</code></p>
  <h3>It worked.  :-)</h3>