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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

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