{"action":"created","issue":{"url":"https://api.github.com/repos/joyent/node/issues/3892","labels_url":"https://api.github.com/repos/joyent/node/issues/3892/labels{/name}","comments_url":"https://api.github.com/repos/joyent/node/issues/3892/comments","events_url":"https://api.github.com/repos/joyent/node/issues/3892/events","html_url":"https://github.com/joyent/node/issues/3892","id":6340071,"number":3892,"title":"IPv6 localAddress gives EADDRNOTAVAIL","user":{"login":"bmeck","id":234659,"avatar_url":"https://avatars.githubusercontent.com/u/234659?v=3","gravatar_id":"","url":"https://api.github.com/users/bmeck","html_url":"https://github.com/bmeck","followers_url":"https://api.github.com/users/bmeck/followers","following_url":"https://api.github.com/users/bmeck/following{/other_user}","gists_url":"https://api.github.com/users/bmeck/gists{/gist_id}","starred_url":"https://api.github.com/users/bmeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmeck/subscriptions","organizations_url":"https://api.github.com/users/bmeck/orgs","repos_url":"https://api.github.com/users/bmeck/repos","events_url":"https://api.github.com/users/bmeck/events{/privacy}","received_events_url":"https://api.github.com/users/bmeck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joyent/node/labels/net","name":"net","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2012-08-21T00:52:26Z","updated_at":"2015-05-20T16:29:21Z","closed_at":"2015-05-20T16:29:20Z","body":"When using `http.request` I noticed that binding to '::1' and my IPv6 address resulted in EADDRNOTAVAIL\n\n```\ngit@master bradleymeck npm>node\n> var req = require('http').get({localAddress:'::1'});\nundefined\n> \nevents.js:66\n        throw arguments[1]; // Unhandled 'error' event\n                       ^\nError: bind EADDRNOTAVAIL\n    at errnoException (net.js:781:11)\n    at connect (net.js:634:21)\n    at Socket.connect (net.js:716:9)\n    at asyncCallback (dns.js:67:16)\n    at Object.onanswer [as oncomplete] (dns.js:120:9)\n```\n\nNot sure if this is intended but I would presume not."},"comment":{"url":"https://api.github.com/repos/joyent/node/issues/comments/103948867","html_url":"https://github.com/joyent/node/issues/3892#issuecomment-103948867","issue_url":"https://api.github.com/repos/joyent/node/issues/3892","id":103948867,"user":{"login":"jasnell","id":439929,"avatar_url":"https://avatars.githubusercontent.com/u/439929?v=3","gravatar_id":"","url":"https://api.github.com/users/jasnell","html_url":"https://github.com/jasnell","followers_url":"https://api.github.com/users/jasnell/followers","following_url":"https://api.github.com/users/jasnell/following{/other_user}","gists_url":"https://api.github.com/users/jasnell/gists{/gist_id}","starred_url":"https://api.github.com/users/jasnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasnell/subscriptions","organizations_url":"https://api.github.com/users/jasnell/orgs","repos_url":"https://api.github.com/users/jasnell/repos","events_url":"https://api.github.com/users/jasnell/events{/privacy}","received_events_url":"https://api.github.com/users/jasnell/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T16:29:20Z","updated_at":"2015-05-20T16:29:20Z","body":"Quick investigation shows that this appears to be fixed. Closing. Can reopen if new information is received."}}