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

error: connect EHOSTUNREACH #97

Open
hG3n opened this issue Apr 16, 2015 · 0 comments
Open

error: connect EHOSTUNREACH #97

hG3n opened this issue Apr 16, 2015 · 0 comments

Comments

@hG3n
Copy link

hG3n commented Apr 16, 2015

Hi,

I just followed your example code like this:

var api = aws.createProdAdvClient(credentials.id,credentials.key,credentials.tag);
api.call('ItemSearch', {SearchIndex:'Books', Keywords:'Java'}, function(err,result){
  if(err){
    console.log(err);
  } else {
    console.log(result);
  }

but I am getting an error like this:
{ [Error: connect EHOSTUNREACH]
code: 'EHOSTUNREACH',
errno: 'EHOSTUNREACH',
syscall: 'connect' }

Do I have to setup my server in a specific way in order to communicate with amazon via your API?

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

1 participant