我有一台linux机器,当我尝试卷曲谷歌它可以工作,但当我尝试卷曲其他网站时它失败。
ABC /home/cool> curl https://www.google.com
<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="en"><head><meta content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for." name="description"><meta content="noodp" name="robots"><meta content="/images/google_favicon_128.png" itemprop="image"><title>Google</title><script>(func
其他网站也是如此。所以我想我的出站防火墙配置很好,否则它本来就失败了。此外,我正在卷曲的网站没有ips等的白名单。但是当我尝试其他
时ABC /home/cool> curl https://failing-site.com
curl: (7) couldn't connect to host
wget也有相同的结果......它可以解析ip但无法连接。
有什么想法吗?