Security

Running httpd on port 80

michael_herbert
Explorer

I have https configured with splunk web running on port 443, and everything works fine when I type in https://splunkweb.com. I am trying to configure httpd to run on port 80 and have an auto-redirect script automatically redirect requests for http://splunkweb.com to https://splunkweb.com.

However it seems that there is something blocking me from using port 80, because if I hit http://splunkweb.com I get a message that says "the server unexpectedly dropped the connection". If I configure httpd to use any other port, like 800 for example, the redirect works fine (http://splunkweb.com:800 -> https://splunkweb.com), it just doesn't like port 80.

I have verified in netstat that nothing else is using port 80 but httpd, so I don't think there is a port conflict. I also don't have iptables running. Before I setup https in splunk web it was using port 80 just fine, so I don't think there was any firewall rules blocking it.

Any ideas as to why this isn't working? I am wondering if there is a cherrypy configuration somewhere that needs to be changed?

Tags (1)
0 Karma

amiracle
Splunk Employee
Splunk Employee

http://splunk-base.splunk.com/answers/1566/can-i-run-splunkweb-on-port-80-on-linux-without-running-a...

The problem is that you need to be root to run Splunk on Port 80. let me know if that helps.

Thanks.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...