Wget connection refused
Wget connection refused
I have a clean Linux 7.3 box trying to download and install NagiosXI. When I use wget I get connection refused. However, if I go from my workstation to the site I can download the file. So I know that my company firewall is not blocking it. I have turned off the firewall on the box. Thinking it maybe a port issue but, unsure.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Wget connection refused
What happens if you use curl -O https://assets.nagios.com/downloads/nag ... 4.3.tar.gz (assuming that's the version you want to download)
For both commands, assuming you get an error with curl, can you please post the full output of the error. Thanks!
For both commands, assuming you get an error with curl, can you please post the full output of the error. Thanks!
Re: Wget connection refused
[root@NRMNOKVLA04 /]# curl -O https://assets.nagios.com/downloads/nagiosxi-5.4.3
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect t o 2600
:f03c:91ff:fedf:b821: Network is unreachable
Proxy request sent, awaiting response... 301 Moved Permanently
Location: https://assets.nagios.com/downloads/nag ... est.tar.gz [following]
--2017-04-06 11:50:42-- https://assets.nagios.com/downloads/nag ... est.tar.gz
Resolving assets.nagios.com (assets.nagios.com)... 72.14.181.71, 2600
:f03c:91ff:fedf:b821
Connecting to assets.nagios.com (assets.nagios.com)|72.14.181.71|:443... failed: Connection refused.
Connecting to assets.nagios.com (assets.nagios.com)|2600
:f03c:91ff:fedf:b821|:443... failed: Network is unreachable.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect t o 2600
Proxy request sent, awaiting response... 301 Moved Permanently
Location: https://assets.nagios.com/downloads/nag ... est.tar.gz [following]
--2017-04-06 11:50:42-- https://assets.nagios.com/downloads/nag ... est.tar.gz
Resolving assets.nagios.com (assets.nagios.com)... 72.14.181.71, 2600
Connecting to assets.nagios.com (assets.nagios.com)|72.14.181.71|:443... failed: Connection refused.
Connecting to assets.nagios.com (assets.nagios.com)|2600
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Wget connection refused
That's the wrong URL, because of truncation. I put in a space this time to avoid that. https://assets.nagios.com/downloads/ nagiosxi/5/xi-5.4.3.tar.gz
However, I don't think that's your only issue, or at least won't be. You'll want to look at https://support.nagios.com/kb/article.php?id=147
However, I don't think that's your only issue, or at least won't be. You'll want to look at https://support.nagios.com/kb/article.php?id=147
Re: Wget connection refused
The KB resolved the issue. Thank you for your help.