{"action":"created","issue":{"url":"https://api.github.com/repos/hexparrot/mineos-node/issues/110","labels_url":"https://api.github.com/repos/hexparrot/mineos-node/issues/110/labels{/name}","comments_url":"https://api.github.com/repos/hexparrot/mineos-node/issues/110/comments","events_url":"https://api.github.com/repos/hexparrot/mineos-node/issues/110/events","html_url":"https://github.com/hexparrot/mineos-node/issues/110","id":105437536,"number":110,"title":"Server broadcast across LAN doesn't work with multiple IPs","user":{"login":"Zsub","id":526914,"avatar_url":"https://avatars.githubusercontent.com/u/526914?v=3","gravatar_id":"","url":"https://api.github.com/users/Zsub","html_url":"https://github.com/Zsub","followers_url":"https://api.github.com/users/Zsub/followers","following_url":"https://api.github.com/users/Zsub/following{/other_user}","gists_url":"https://api.github.com/users/Zsub/gists{/gist_id}","starred_url":"https://api.github.com/users/Zsub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zsub/subscriptions","organizations_url":"https://api.github.com/users/Zsub/orgs","repos_url":"https://api.github.com/users/Zsub/repos","events_url":"https://api.github.com/users/Zsub/events{/privacy}","received_events_url":"https://api.github.com/users/Zsub/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hexparrot/mineos-node/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/hexparrot/mineos-node/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-08T18:02:39Z","updated_at":"2015-09-09T19:14:40Z","closed_at":null,"body":"I have multiple servers running on one machine, but each server is bound to its own IP with the default port. (For background, I used hostnames to make this girlfriend-friendly, she and I found those easier to remember than ports.) Now I'm trying to bring it to the next level with MineOS and I noticed it has a broadcast-function which is really cool.\r\n\r\nHowever, it doesn't work. That is to say, it works for one server because all my servers share the same port. Furthermore, even if I change the ports to non-default, but also bind the servers to different IPs, only one server (the one bound to the same IP as the broadcaster is using) will actually work (even though all three show up in the client).\r\n\r\nI can work around this by giving all servers the same IP, but I was wondering if there might be a more robust solution to this, for example by binding the broadcaster socket to other IPs such as may exist in the `server.properties` for all servers."},"comment":{"url":"https://api.github.com/repos/hexparrot/mineos-node/issues/comments/139017983","html_url":"https://github.com/hexparrot/mineos-node/issues/110#issuecomment-139017983","issue_url":"https://api.github.com/repos/hexparrot/mineos-node/issues/110","id":139017983,"user":{"login":"Zsub","id":526914,"avatar_url":"https://avatars.githubusercontent.com/u/526914?v=3","gravatar_id":"","url":"https://api.github.com/users/Zsub","html_url":"https://github.com/Zsub","followers_url":"https://api.github.com/users/Zsub/followers","following_url":"https://api.github.com/users/Zsub/following{/other_user}","gists_url":"https://api.github.com/users/Zsub/gists{/gist_id}","starred_url":"https://api.github.com/users/Zsub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zsub/subscriptions","organizations_url":"https://api.github.com/users/Zsub/orgs","repos_url":"https://api.github.com/users/Zsub/repos","events_url":"https://api.github.com/users/Zsub/events{/privacy}","received_events_url":"https://api.github.com/users/Zsub/received_events","type":"User","site_admin":false},"created_at":"2015-09-09T19:14:40Z","updated_at":"2015-09-09T19:14:40Z","body":"Yeah I have the same situation, except that my servers vary by IP (on one physical host) and not port. So I won't change the UDP destination, just bind the socket so it comes from different origin addresses varying by which addresses on the host are used by the Minecraft servers.\r\n\r\nI'm sure the PR will make it perfectly clear, even if I don't manage to express it very clearly in words 😁"}}