Wget connection refused

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
youngek
Posts: 34
Joined: Tue Feb 14, 2017 2:46 pm

Wget connection refused

Post by youngek »

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

Post by dwhitfield »

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!
youngek
Posts: 34
Joined: Tue Feb 14, 2017 2:46 pm

Re: Wget connection refused

Post by youngek »

[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:3c00::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:3c00::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:3c00::f03c:91ff:fedf:b821|:443... failed: Network is unreachable.
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Wget connection refused

Post by dwhitfield »

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
youngek
Posts: 34
Joined: Tue Feb 14, 2017 2:46 pm

Re: Wget connection refused

Post by youngek »

The KB resolved the issue. Thank you for your help.
Locked