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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...