title: See if a server port is open using JavaScript
body: <p>I can't find any information on this and I was wondering if this was even possible?
  I have a Minecraft server that I want to ping to find out if it is on at a specific port. I want to do this in Javascript but from what I can see that you cant really do that or it hasn't been done before. Are there any plugins or 3rd party Javascript vendors that can accomplish this?</p>
  
  <p>For example:</p>
  
  <pre><code>mc.mydomain.net:25565
  </code></pre>
  
  <p>Javascript pings the server and it changes the text from online to offline, depending on if it can connect.</p>
  
  <pre><code>Server is: Online
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>Server is: Offline
  </code></pre>