bin file downloaded when I visit my IP address [closed]

Clash Royale CLAN TAG#URR8PPP
up vote
-2
down vote
favorite
I have setup nagios on my Ubuntu, but when I go to my IP address, it downloads a BIN file. Why is this happening? The address is:
http://46.101.145.158/nagios
nagios
closed as unclear what you're asking by Christopher, dr01, Jeff Schaller, G-Man, GAD3R Oct 30 '17 at 23:54
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |Â
up vote
-2
down vote
favorite
I have setup nagios on my Ubuntu, but when I go to my IP address, it downloads a BIN file. Why is this happening? The address is:
http://46.101.145.158/nagios
nagios
closed as unclear what you're asking by Christopher, dr01, Jeff Schaller, G-Man, GAD3R Oct 30 '17 at 23:54
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Hard to tell. WhatâÂÂd you do?
â Jeff Schaller
Oct 30 '17 at 12:57
I just setup setup nagios into Ubuntu 16.04 Digital Ocean Linux
â School Of Freelancing
Oct 30 '17 at 13:03
add a comment |Â
up vote
-2
down vote
favorite
up vote
-2
down vote
favorite
I have setup nagios on my Ubuntu, but when I go to my IP address, it downloads a BIN file. Why is this happening? The address is:
http://46.101.145.158/nagios
nagios
I have setup nagios on my Ubuntu, but when I go to my IP address, it downloads a BIN file. Why is this happening? The address is:
http://46.101.145.158/nagios
nagios
edited Oct 30 '17 at 12:54
terdonâ¦
123k28231403
123k28231403
asked Oct 30 '17 at 12:32
School Of Freelancing
34
34
closed as unclear what you're asking by Christopher, dr01, Jeff Schaller, G-Man, GAD3R Oct 30 '17 at 23:54
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as unclear what you're asking by Christopher, dr01, Jeff Schaller, G-Man, GAD3R Oct 30 '17 at 23:54
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Hard to tell. WhatâÂÂd you do?
â Jeff Schaller
Oct 30 '17 at 12:57
I just setup setup nagios into Ubuntu 16.04 Digital Ocean Linux
â School Of Freelancing
Oct 30 '17 at 13:03
add a comment |Â
Hard to tell. WhatâÂÂd you do?
â Jeff Schaller
Oct 30 '17 at 12:57
I just setup setup nagios into Ubuntu 16.04 Digital Ocean Linux
â School Of Freelancing
Oct 30 '17 at 13:03
Hard to tell. WhatâÂÂd you do?
â Jeff Schaller
Oct 30 '17 at 12:57
Hard to tell. WhatâÂÂd you do?
â Jeff Schaller
Oct 30 '17 at 12:57
I just setup setup nagios into Ubuntu 16.04 Digital Ocean Linux
â School Of Freelancing
Oct 30 '17 at 13:03
I just setup setup nagios into Ubuntu 16.04 Digital Ocean Linux
â School Of Freelancing
Oct 30 '17 at 13:03
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
4
down vote
You appear to be running an ssh server on your http/https ports:
nc -vvv 46.101.145.158 80
Connection to 46.101.145.158 80 port [tcp/http] succeeded!
SSH-2.0-dropbear_2016.72
nc -vvv 46.101.145.158 443
Connection to 46.101.145.158 443 port [tcp/http] succeeded!
SSH-2.0-dropbear_2016.72
If you're trying to run ssh and http/https on the same port I would strongly recommend that you keep things simple until you have all your services working correctly, and instead (at least for now) separate them out.
You can then start to investigate the problem that you have described, knowing that you have just a single application (i.e. your webserver) to consider.
is their any command which will solve my all problem? I have every thing as you said!
â School Of Freelancing
Oct 30 '17 at 15:34
1
@SchoolOfFreelancing I assume you followed a tutorial/guide to set up your system. If you update your question to provide a link to it we might be able to offer practical advice.
â roaima
Oct 30 '17 at 16:25
add a comment |Â
up vote
1
down vote
Something in your Web server configuration is broken, as here's what curl says...
imac> curl -I -L http://46.101.145.158/nagios
curl: (8) Weird server reply
First time I've ever seen this type of response. Same for your raw IP...
imac> curl -I -L http://46.101.145.158
curl: (8) Weird server reply
Start with your Web server logs.
Also, thinking through this, a misconfigured iptables rule to attempt dealing with some types of attack traffic might be at fault, so if you have any iptables rules associated with port 80 on this IP, flush the related rules for now.
Likely your Webserver access + error logs will help.
Get your actual Webserver working first... so serving a simple index.html first, before attempting to setup anything complex.
is their any command which will solve my all problem? I have every thing as you said!
â School Of Freelancing
Oct 30 '17 at 15:34
Yes. You'll require configuring your system to do deep logging for your entire Web stack (whatever you're running - Apache + PHP + etc...), then get into your logs (tail -f /path-to-log) + visit your site. Once you've fixed all Apache log errors, move on to PHP or whatever else you're running + fix every problem logged.
â David Favor
Nov 1 '17 at 12:59
Reading curl docs, this may indicate your Web server is forcing ftp: rather than http: for the protocol... which truly is... weird... Your Web server logs should tell you all you require for debugging this problem.
â David Favor
Nov 1 '17 at 13:01
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
4
down vote
You appear to be running an ssh server on your http/https ports:
nc -vvv 46.101.145.158 80
Connection to 46.101.145.158 80 port [tcp/http] succeeded!
SSH-2.0-dropbear_2016.72
nc -vvv 46.101.145.158 443
Connection to 46.101.145.158 443 port [tcp/http] succeeded!
SSH-2.0-dropbear_2016.72
If you're trying to run ssh and http/https on the same port I would strongly recommend that you keep things simple until you have all your services working correctly, and instead (at least for now) separate them out.
You can then start to investigate the problem that you have described, knowing that you have just a single application (i.e. your webserver) to consider.
is their any command which will solve my all problem? I have every thing as you said!
â School Of Freelancing
Oct 30 '17 at 15:34
1
@SchoolOfFreelancing I assume you followed a tutorial/guide to set up your system. If you update your question to provide a link to it we might be able to offer practical advice.
â roaima
Oct 30 '17 at 16:25
add a comment |Â
up vote
4
down vote
You appear to be running an ssh server on your http/https ports:
nc -vvv 46.101.145.158 80
Connection to 46.101.145.158 80 port [tcp/http] succeeded!
SSH-2.0-dropbear_2016.72
nc -vvv 46.101.145.158 443
Connection to 46.101.145.158 443 port [tcp/http] succeeded!
SSH-2.0-dropbear_2016.72
If you're trying to run ssh and http/https on the same port I would strongly recommend that you keep things simple until you have all your services working correctly, and instead (at least for now) separate them out.
You can then start to investigate the problem that you have described, knowing that you have just a single application (i.e. your webserver) to consider.
is their any command which will solve my all problem? I have every thing as you said!
â School Of Freelancing
Oct 30 '17 at 15:34
1
@SchoolOfFreelancing I assume you followed a tutorial/guide to set up your system. If you update your question to provide a link to it we might be able to offer practical advice.
â roaima
Oct 30 '17 at 16:25
add a comment |Â
up vote
4
down vote
up vote
4
down vote
You appear to be running an ssh server on your http/https ports:
nc -vvv 46.101.145.158 80
Connection to 46.101.145.158 80 port [tcp/http] succeeded!
SSH-2.0-dropbear_2016.72
nc -vvv 46.101.145.158 443
Connection to 46.101.145.158 443 port [tcp/http] succeeded!
SSH-2.0-dropbear_2016.72
If you're trying to run ssh and http/https on the same port I would strongly recommend that you keep things simple until you have all your services working correctly, and instead (at least for now) separate them out.
You can then start to investigate the problem that you have described, knowing that you have just a single application (i.e. your webserver) to consider.
You appear to be running an ssh server on your http/https ports:
nc -vvv 46.101.145.158 80
Connection to 46.101.145.158 80 port [tcp/http] succeeded!
SSH-2.0-dropbear_2016.72
nc -vvv 46.101.145.158 443
Connection to 46.101.145.158 443 port [tcp/http] succeeded!
SSH-2.0-dropbear_2016.72
If you're trying to run ssh and http/https on the same port I would strongly recommend that you keep things simple until you have all your services working correctly, and instead (at least for now) separate them out.
You can then start to investigate the problem that you have described, knowing that you have just a single application (i.e. your webserver) to consider.
answered Oct 30 '17 at 13:33
roaima
40k546109
40k546109
is their any command which will solve my all problem? I have every thing as you said!
â School Of Freelancing
Oct 30 '17 at 15:34
1
@SchoolOfFreelancing I assume you followed a tutorial/guide to set up your system. If you update your question to provide a link to it we might be able to offer practical advice.
â roaima
Oct 30 '17 at 16:25
add a comment |Â
is their any command which will solve my all problem? I have every thing as you said!
â School Of Freelancing
Oct 30 '17 at 15:34
1
@SchoolOfFreelancing I assume you followed a tutorial/guide to set up your system. If you update your question to provide a link to it we might be able to offer practical advice.
â roaima
Oct 30 '17 at 16:25
is their any command which will solve my all problem? I have every thing as you said!
â School Of Freelancing
Oct 30 '17 at 15:34
is their any command which will solve my all problem? I have every thing as you said!
â School Of Freelancing
Oct 30 '17 at 15:34
1
1
@SchoolOfFreelancing I assume you followed a tutorial/guide to set up your system. If you update your question to provide a link to it we might be able to offer practical advice.
â roaima
Oct 30 '17 at 16:25
@SchoolOfFreelancing I assume you followed a tutorial/guide to set up your system. If you update your question to provide a link to it we might be able to offer practical advice.
â roaima
Oct 30 '17 at 16:25
add a comment |Â
up vote
1
down vote
Something in your Web server configuration is broken, as here's what curl says...
imac> curl -I -L http://46.101.145.158/nagios
curl: (8) Weird server reply
First time I've ever seen this type of response. Same for your raw IP...
imac> curl -I -L http://46.101.145.158
curl: (8) Weird server reply
Start with your Web server logs.
Also, thinking through this, a misconfigured iptables rule to attempt dealing with some types of attack traffic might be at fault, so if you have any iptables rules associated with port 80 on this IP, flush the related rules for now.
Likely your Webserver access + error logs will help.
Get your actual Webserver working first... so serving a simple index.html first, before attempting to setup anything complex.
is their any command which will solve my all problem? I have every thing as you said!
â School Of Freelancing
Oct 30 '17 at 15:34
Yes. You'll require configuring your system to do deep logging for your entire Web stack (whatever you're running - Apache + PHP + etc...), then get into your logs (tail -f /path-to-log) + visit your site. Once you've fixed all Apache log errors, move on to PHP or whatever else you're running + fix every problem logged.
â David Favor
Nov 1 '17 at 12:59
Reading curl docs, this may indicate your Web server is forcing ftp: rather than http: for the protocol... which truly is... weird... Your Web server logs should tell you all you require for debugging this problem.
â David Favor
Nov 1 '17 at 13:01
add a comment |Â
up vote
1
down vote
Something in your Web server configuration is broken, as here's what curl says...
imac> curl -I -L http://46.101.145.158/nagios
curl: (8) Weird server reply
First time I've ever seen this type of response. Same for your raw IP...
imac> curl -I -L http://46.101.145.158
curl: (8) Weird server reply
Start with your Web server logs.
Also, thinking through this, a misconfigured iptables rule to attempt dealing with some types of attack traffic might be at fault, so if you have any iptables rules associated with port 80 on this IP, flush the related rules for now.
Likely your Webserver access + error logs will help.
Get your actual Webserver working first... so serving a simple index.html first, before attempting to setup anything complex.
is their any command which will solve my all problem? I have every thing as you said!
â School Of Freelancing
Oct 30 '17 at 15:34
Yes. You'll require configuring your system to do deep logging for your entire Web stack (whatever you're running - Apache + PHP + etc...), then get into your logs (tail -f /path-to-log) + visit your site. Once you've fixed all Apache log errors, move on to PHP or whatever else you're running + fix every problem logged.
â David Favor
Nov 1 '17 at 12:59
Reading curl docs, this may indicate your Web server is forcing ftp: rather than http: for the protocol... which truly is... weird... Your Web server logs should tell you all you require for debugging this problem.
â David Favor
Nov 1 '17 at 13:01
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Something in your Web server configuration is broken, as here's what curl says...
imac> curl -I -L http://46.101.145.158/nagios
curl: (8) Weird server reply
First time I've ever seen this type of response. Same for your raw IP...
imac> curl -I -L http://46.101.145.158
curl: (8) Weird server reply
Start with your Web server logs.
Also, thinking through this, a misconfigured iptables rule to attempt dealing with some types of attack traffic might be at fault, so if you have any iptables rules associated with port 80 on this IP, flush the related rules for now.
Likely your Webserver access + error logs will help.
Get your actual Webserver working first... so serving a simple index.html first, before attempting to setup anything complex.
Something in your Web server configuration is broken, as here's what curl says...
imac> curl -I -L http://46.101.145.158/nagios
curl: (8) Weird server reply
First time I've ever seen this type of response. Same for your raw IP...
imac> curl -I -L http://46.101.145.158
curl: (8) Weird server reply
Start with your Web server logs.
Also, thinking through this, a misconfigured iptables rule to attempt dealing with some types of attack traffic might be at fault, so if you have any iptables rules associated with port 80 on this IP, flush the related rules for now.
Likely your Webserver access + error logs will help.
Get your actual Webserver working first... so serving a simple index.html first, before attempting to setup anything complex.
answered Oct 30 '17 at 13:08
David Favor
33014
33014
is their any command which will solve my all problem? I have every thing as you said!
â School Of Freelancing
Oct 30 '17 at 15:34
Yes. You'll require configuring your system to do deep logging for your entire Web stack (whatever you're running - Apache + PHP + etc...), then get into your logs (tail -f /path-to-log) + visit your site. Once you've fixed all Apache log errors, move on to PHP or whatever else you're running + fix every problem logged.
â David Favor
Nov 1 '17 at 12:59
Reading curl docs, this may indicate your Web server is forcing ftp: rather than http: for the protocol... which truly is... weird... Your Web server logs should tell you all you require for debugging this problem.
â David Favor
Nov 1 '17 at 13:01
add a comment |Â
is their any command which will solve my all problem? I have every thing as you said!
â School Of Freelancing
Oct 30 '17 at 15:34
Yes. You'll require configuring your system to do deep logging for your entire Web stack (whatever you're running - Apache + PHP + etc...), then get into your logs (tail -f /path-to-log) + visit your site. Once you've fixed all Apache log errors, move on to PHP or whatever else you're running + fix every problem logged.
â David Favor
Nov 1 '17 at 12:59
Reading curl docs, this may indicate your Web server is forcing ftp: rather than http: for the protocol... which truly is... weird... Your Web server logs should tell you all you require for debugging this problem.
â David Favor
Nov 1 '17 at 13:01
is their any command which will solve my all problem? I have every thing as you said!
â School Of Freelancing
Oct 30 '17 at 15:34
is their any command which will solve my all problem? I have every thing as you said!
â School Of Freelancing
Oct 30 '17 at 15:34
Yes. You'll require configuring your system to do deep logging for your entire Web stack (whatever you're running - Apache + PHP + etc...), then get into your logs (tail -f /path-to-log) + visit your site. Once you've fixed all Apache log errors, move on to PHP or whatever else you're running + fix every problem logged.
â David Favor
Nov 1 '17 at 12:59
Yes. You'll require configuring your system to do deep logging for your entire Web stack (whatever you're running - Apache + PHP + etc...), then get into your logs (tail -f /path-to-log) + visit your site. Once you've fixed all Apache log errors, move on to PHP or whatever else you're running + fix every problem logged.
â David Favor
Nov 1 '17 at 12:59
Reading curl docs, this may indicate your Web server is forcing ftp: rather than http: for the protocol... which truly is... weird... Your Web server logs should tell you all you require for debugging this problem.
â David Favor
Nov 1 '17 at 13:01
Reading curl docs, this may indicate your Web server is forcing ftp: rather than http: for the protocol... which truly is... weird... Your Web server logs should tell you all you require for debugging this problem.
â David Favor
Nov 1 '17 at 13:01
add a comment |Â
Hard to tell. WhatâÂÂd you do?
â Jeff Schaller
Oct 30 '17 at 12:57
I just setup setup nagios into Ubuntu 16.04 Digital Ocean Linux
â School Of Freelancing
Oct 30 '17 at 13:03