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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...