Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port 5000 in use #19

Closed
bakman2 opened this issue Sep 6, 2018 · 4 comments
Closed

Port 5000 in use #19

bakman2 opened this issue Sep 6, 2018 · 4 comments
Assignees

Comments

@bakman2
Copy link

bakman2 commented Sep 6, 2018

I am running node-red (docker) on a synology which uses port 5000 for its webinterface, when trying to add a harmony hub, node-red crashes. I've changed the source code from 5002-6000 which works. A smaller/less exotic range could avoid this ?

@supagold
Copy link

Same here. My hubs have assigned IPs, so adding them manually by IP worked, but it would be nice if we could skip port 5000.

@Aietes
Copy link
Owner

Aietes commented Sep 16, 2018

Actually, the extension does scan for a free port using netstat, and not use a port that is already in use. It doesn't matter much in docker though, as port detection doesn't work anyway, as broadcasting doesn't work in containers. I'll adjust the starting port to 5002, to avoid the crash.

@Aietes Aietes self-assigned this Sep 16, 2018
@Aietes
Copy link
Owner

Aietes commented Sep 16, 2018

To clarify, the extension works in a docker container, I use it in docker myself, but the IP detection of a hub will not work, you'll need to enter the IP manually.

@Aietes
Copy link
Owner

Aietes commented Sep 17, 2018

Fixed in 1.2.6

@Aietes Aietes closed this as completed Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants