「wget」を使用して外部のウェブサイトに接続できない理由をどのように知ることができますか?

「wget」を使用して外部のウェブサイトに接続できない理由をどのように知ることができますか?

CentOS 7を使用しています。他のほとんどのウェブサイトは動作し、他のコンピュータではこの別のウェブサイトに接続できますが、なぜwgetを介して外部のウェブサイトに接続できないのかを調べようとします。ウェブサイトは "gitlab.com"であり、接続しようとするとタイムアウトエラーが発生します。

[root@server tmp]# wget "https://gitlab.com"
--2018-02-24 14:38:00--  https://gitlab.com/
Resolving gitlab.com (gitlab.com)... 52.167.219.168
Connecting to gitlab.com (gitlab.com)|52.167.219.168|:443... failed: Connection timed out.
Retrying.

--2018-02-24 14:39:04--  (try: 2)  https://gitlab.com/
Connecting to gitlab.com (gitlab.com)|52.167.219.168|:443... failed: Connection timed out.
Retrying.

wgetを使用してwww.microsoft.comなどの他のほとんどのWebサイトに接続できるため、これは奇妙です。

[root@server tmp]# wget "https://www.microsoft.com"
--2018-02-24 14:36:55--  https://www.microsoft.com/
Resolving www.microsoft.com (www.microsoft.com)... 23.79.214.159, 2600:1407:10:287::356e, 2600:1407:10:29c::356e, ...
Connecting to www.microsoft.com (www.microsoft.com)|23.79.214.159|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://www.microsoft.com/en-us/ [following]
--2018-02-24 14:36:55--  https://www.microsoft.com/en-us/
Reusing existing connection to www.microsoft.com:443.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'index.html.2'

    [ <=>                                                                                                   ] 221,740     --.-K/s   in 0.03s

2018-02-24 14:36:56 (6.74 MB/s) - 'index.html.2' saved [221740]

私はgitlabサーバーに対してトレースパスを実行しましたが、出力が何を意味するのか混乱しています。

[root@server tmp]# traceroute 52.167.219.168
traceroute to 52.167.219.168 (52.167.219.168), 30 hops max, 60 byte packets
 1  ssdsemi17.a2hosting.com (70.32.26.14)  0.087 ms  0.014 ms  0.014 ms
 2  75.98.175.211.static.a2webhosting.com (75.98.175.211)  0.468 ms  0.505 ms  0.547 ms
 3  75.98.175.254.static.a2webhosting.com (75.98.175.254)  0.305 ms  0.458 ms  0.435 ms
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

この外部サイトに接続する方法から何を除外/確認する必要がありますか?

ベストアンサー1

おすすめ記事