{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/4274","labels_url":"https://api.github.com/repos/nodejs/node/issues/4274/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/4274/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/4274/events","html_url":"https://github.com/nodejs/node/issues/4274","id":122096982,"number":4274,"title":"unable to bind udp6 socket to a specific address","user":{"login":"nickdesaulniers","id":1823839,"avatar_url":"https://avatars.githubusercontent.com/u/1823839?v=3","gravatar_id":"","url":"https://api.github.com/users/nickdesaulniers","html_url":"https://github.com/nickdesaulniers","followers_url":"https://api.github.com/users/nickdesaulniers/followers","following_url":"https://api.github.com/users/nickdesaulniers/following{/other_user}","gists_url":"https://api.github.com/users/nickdesaulniers/gists{/gist_id}","starred_url":"https://api.github.com/users/nickdesaulniers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickdesaulniers/subscriptions","organizations_url":"https://api.github.com/users/nickdesaulniers/orgs","repos_url":"https://api.github.com/users/nickdesaulniers/repos","events_url":"https://api.github.com/users/nickdesaulniers/events{/privacy}","received_events_url":"https://api.github.com/users/nickdesaulniers/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/dgram","name":"dgram","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-14T18:02:45Z","updated_at":"2015-12-14T19:13:22Z","closed_at":null,"body":"```js\r\nvar udp6 = dgram.createSocket('udp6');\r\nudp6.bind(null, 'fe80::e46a:6cff:fe68:a76a');\r\n```\r\nthrows `Error: bind EADDRNOTAVAIL fe80::e46a:6cff:fe68:a76a` but works for ipv4 addresses listed from `os.networkInterfaces()`.\r\n\r\nhttps://stackoverflow.com/questions/34259279/node-js-cant-bind-a-udp6-socket-to-a-specific-address"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/164529908","html_url":"https://github.com/nodejs/node/issues/4274#issuecomment-164529908","issue_url":"https://api.github.com/repos/nodejs/node/issues/4274","id":164529908,"user":{"login":"nickdesaulniers","id":1823839,"avatar_url":"https://avatars.githubusercontent.com/u/1823839?v=3","gravatar_id":"","url":"https://api.github.com/users/nickdesaulniers","html_url":"https://github.com/nickdesaulniers","followers_url":"https://api.github.com/users/nickdesaulniers/followers","following_url":"https://api.github.com/users/nickdesaulniers/following{/other_user}","gists_url":"https://api.github.com/users/nickdesaulniers/gists{/gist_id}","starred_url":"https://api.github.com/users/nickdesaulniers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickdesaulniers/subscriptions","organizations_url":"https://api.github.com/users/nickdesaulniers/orgs","repos_url":"https://api.github.com/users/nickdesaulniers/repos","events_url":"https://api.github.com/users/nickdesaulniers/events{/privacy}","received_events_url":"https://api.github.com/users/nickdesaulniers/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T19:13:21Z","updated_at":"2015-12-14T19:13:21Z","body":"I just tried this on my linux box.  Rather than `EADDRNOTAVAIL`, I got an `EINVAL`.\r\n\r\n`man 2 bind` says EINVAL means \"EINVAL The socket is already bound to an address.\"  What?!  `udp6._bindState` is `0`.  How could it possibly be already bound?"}}