title: How does windows interpret absolute path and relative path for a file?
body: <p><strong>Disclaimer: I use Ubuntu, forgot many things about Windows.</strong> </p>
  
  <p>I am in a mind boggling problem, unable to decipher whether or not the way how Windows and Ubuntu manages files had anything to do with a javascript dependency called socket.io in particular.</p>
  
  <p>I obtained the <code>failed to load resource net::err_file_not_found</code> error when I tried running my Nodejs web application on Windows, however, when I ran it on Ubuntu it went smoothly without a problem. I managed to fix it by changing the src from <code>/socket.io/socket.io.js</code> to  <code>http://localhost:8000/socket.io/socket.io.js</code>.</p>
  
  <p>Trying to figure out what is the difference in using socket.io dependency in my <code>.html</code> file. </p>
  
  <p>In Ubuntu</p>
  
  <pre><code>&lt;script src="/socket.io/socket.io.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>In Windows</p>
  
  <pre><code>&lt;script src="http://localhost:PORTNUMBER/socket.io/socket.io.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>In windows will it always require the path of a file to be specified or will windows always require you to use the absolute path? In ubuntu I see that the relative and absolute path are basically the same thing. </p>