{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/5417","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/5417/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/5417/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/5417/events","html_url":"https://github.com/meteor/meteor/issues/5417","id":111255312,"number":5417,"title":"HTTP_PROXY fails http://localhost requests","user":{"login":"dotnetwise","id":485535,"avatar_url":"https://avatars.githubusercontent.com/u/485535?v=3","gravatar_id":"","url":"https://api.github.com/users/dotnetwise","html_url":"https://github.com/dotnetwise","followers_url":"https://api.github.com/users/dotnetwise/followers","following_url":"https://api.github.com/users/dotnetwise/following{/other_user}","gists_url":"https://api.github.com/users/dotnetwise/gists{/gist_id}","starred_url":"https://api.github.com/users/dotnetwise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotnetwise/subscriptions","organizations_url":"https://api.github.com/users/dotnetwise/orgs","repos_url":"https://api.github.com/users/dotnetwise/repos","events_url":"https://api.github.com/users/dotnetwise/events{/privacy}","received_events_url":"https://api.github.com/users/dotnetwise/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/feature","name":"feature","color":"02d7e1"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-10-13T19:45:00Z","updated_at":"2016-05-12T12:54:22Z","closed_at":null,"body":"When you set `HTTP_PROXY` all of your `http://localhost/....` requests will fail in a `Http.call` from a server method.\r\n\r\nThe same for `http://127.0.0.1/` requests\r\n\r\n```js\r\nvar result = Http.call('GET', 'http://localhost', {});\r\n```\r\nThrows cannot resolve address localhost, because it goes to the proxy to resolve it."},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/218748140","html_url":"https://github.com/meteor/meteor/issues/5417#issuecomment-218748140","issue_url":"https://api.github.com/repos/meteor/meteor/issues/5417","id":218748140,"user":{"login":"abernix","id":841294,"avatar_url":"https://avatars.githubusercontent.com/u/841294?v=3","gravatar_id":"","url":"https://api.github.com/users/abernix","html_url":"https://github.com/abernix","followers_url":"https://api.github.com/users/abernix/followers","following_url":"https://api.github.com/users/abernix/following{/other_user}","gists_url":"https://api.github.com/users/abernix/gists{/gist_id}","starred_url":"https://api.github.com/users/abernix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abernix/subscriptions","organizations_url":"https://api.github.com/users/abernix/orgs","repos_url":"https://api.github.com/users/abernix/repos","events_url":"https://api.github.com/users/abernix/events{/privacy}","received_events_url":"https://api.github.com/users/abernix/received_events","type":"User","site_admin":false},"created_at":"2016-05-12T12:54:22Z","updated_at":"2016-05-12T12:54:22Z","body":"And you could actually work around this by using `require('request')` yourself [docs](https://www.npmjs.com/package/request) and setting proxy to undefined."}}