title: signalr - with different clients
body: <p>I am trying to setup a signalR system.</p>
  
  <p>I have the sample code working, using two browsers and the same hub.   messages are sent and received.</p>
  
  <p>Now, when I created a different page, and try to send messages to the hub, it appears to be kinda working, meaning it doesn't blow up, but nothing gets transmitted to the other clients.</p>
  
  <p>I thought I was accessing the same message hub, from all the clients, but maybe I am missing something.</p>
  
  <p>Is it possible to connect different web sites to the same message hub?</p>
  
  <p>Begin Edit</p>
  
  <p>As requested....  here is the code i am using on my second client...</p>
  
  <pre><code>  var connection = $.hubConnection('http://xxxxxxxxx.azurewebsites.net/');
    var contosoChatHubProxy = connection.createHubProxy('MessagePump');
  // contosoChatHubProxy.on('Send', function (name, message) {console.log(name + ' ' + message);});
  
  
    $.connection.hub.start()
  .done(function () {
    console.log('Now connected, connection ID=' + $.connection.hub.id);  // returns an ID
    //      $.connection.hub.send('testing', 'this is a test from the client');
    //      contosoChatHubProxy.send("testing");
    //      contosoChatHubProxy.invoke('testing', 'this is a test for the client 1');
    //      contosoChatHubProxy.invoke('say', 'this is a test for the client 2');
    //      contosoChatHubProxy.invoke('Send', 'This is a test for client 3');
    //      $.connection.hub.send('testing', 'this is a test from the client 4');
    contosoChatHubProxy.invoke('messagePump', 'user', 'this is a test message for 5');
  })
  .fail(function(){ console.log('Could not Connect!'); });
  </code></pre>
  
  <p>This is what i am seeing in firebug</p>
  
  <p><a href="https://i.stack.imgur.com/RM5ZK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RM5ZK.png" alt="enter image description here"></a></p>
  
  <p>From what i can make of the code, the proxy appears to be loading locally, and not even seeing the remote system hub...</p>
  
  <p>My console application(s) that only connect to the remote system hub are able to send and receive messages.</p>
  
  <p>btw - i have tried upper can lower case (MessagePump, messagePump)
  but it has not changed the result.</p>