jishi / node-sonos-web-controller

A web based controller for Sonos utilizing web sockets for a native look and feel
MIT License
247 stars 45 forks source link

changed port but socket is still using 8080 #43

Closed arins closed 7 years ago

arins commented 8 years ago

changed port but socket is still using 8080

jishi commented 8 years ago

That shouldn't be possible, since the socket.io is piggybacking on the actual http server that has started. Are you saying that the web interface change port, but the socket.io can no longer connect?

jishi commented 8 years ago

Aha, the web interface is trying to connect to port 8080 since someone hardcoded it, sigh...

arins commented 8 years ago

exactly

GermanBluefox commented 8 years ago

Here https://github.com/jishi/node-sonos-web-controller/blob/master/static/js/socket.js#L8

arins commented 7 years ago

i fixed this in my fork