-
Notifications
You must be signed in to change notification settings - Fork 255
Property 'GET' of ... is not a function #34
Comments
Hm, I don't believe this should be the reason for this error popping up. Nodetunes should compensate for ports being used, and attempts to find something between 5000 and 5050 that's unused. (see: https://github.com/stephen/nodetunes/blob/master/lib/server.js#L50-L53) |
Just to clarify, my server wasn't listening at all. I thought that it was listening on port 5000 and thus directed my web browser to |
First of all: @stephen, I love airsonos! This error also occurs on my Mac whenever I try to AirPlay the sound output from the computer to airsonos. From my understanding, it seems that I'm not sure whether you've got access to a Mac, but I've describe how to reproduce the error below:
|
I believe this should be fixed in |
I saw this once long before and didn't think more of it, but now I have finally found out why it happens.
Turns out that something is using port 5000, which I'm also using when developing a website in node.js. What happens is that my server fails to listen to port 5000, obviously, and when I visit
http://localhost:5000/
in my browser, it makes the request that kills the server.A simple check to end the connection instead of crashing the entire program would be nice :)
The text was updated successfully, but these errors were encountered: