Is it possible to load javascript file with http://localhost as the source?
<p>Is it possible to load a JavaScript file with <code>http://localhost</code> as the source?</p>

<p>ex:</p>

<p><code>&lt;script type="text/javascript" src="http://localhost:8081/signalr/hubs" language="javascript"&gt;&lt;/script&gt;</code></p>

<p>I am using a script like this in my asp.net web application. It is working properly when running locally on my computer.</p>

<p>Once I put the web application onto a live server and I access the page that has the above script, the GET for that script returns status "aborted". Is it possible to use this reference when accessing the website externally?</p>

<p>Note*: <code>http://localhost:8081/signalr/hubs</code> has a javascript script called Hubs.js. Navigating to it from a browser on the server displays the script.</p>
