Search code examples
chromecastgoogle-cast

Cast receiver on local IIS yields ERR_CONNECTION_REFUSED?


I have a custom receiver app (I tried this one as well) which is hosted locally on my IIS 10 Express server. I have verified that I can see my web page from other devices on my local network.

When I show the receiver app page on my local Chrome browser, I see the following in the Debug output:

cast_receiver.js:53
WebSocket connection to 'ws://localhost:8008/v2/ipc' failed:
Error in connection establishment: net::ERR_CONNECTION_REFUSED

Is this an error or is it showing just because I'm running the page on a non-Chromecast device?


Solution

  • Correct, you cannot run a receiver app in your desktop chrome browser; it needs to run on a Cast device; a Cast device is more than just a chrome browser.