What could cause “connect ETIMEDOUT” error when the URL is working in browser?

后端 未结 6 1437
深忆病人
深忆病人 2021-02-19 07:46

I train myslef with NodeJS and tried a simple GET call. Here is my code:

var http = require(\'http\');

var options = {
    host: \'www.boardgamegeek.com\',
             


        
6条回答
  •  我在风中等你
    2021-02-19 08:16

    In my case it was a misconfigured subnet. Only one of the 2 subnets in the ELB worked. But my client kept trying to connect to the misconfigured one.

提交回复
热议问题