Hello,

I am having an issue with socket.io-client.

I am working on an angularjs application using grunt server. To run it
I use the grunt server command, which opens the application at 
http://localhost:9000/#/

Inside my application I want to set up a socket connection using something 
like this:

function MyCtrl(){

  var socket = io.connect('https://www.mydomainname.com');
  ...
}

Unfortunately I get an error which in Chrome looks like this:
GET 
https://www.mydomainname:9000/socket.io/1/?t=1391819571188<https://sleepy-shore-1958.herokuapp.com:9000/socket.io/1/?t=1391819571188>net::ERR_CONNECTION_REFUSED
 

First, I noticed that the port 9000 is being attached automatically to 
www.mydomainname.com. I am not sure
if this is causing the error, but if it is, how can I prevent port 9000 
from being attached to the end of www.mydomainname.com?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to