Deployment Architecture

Running splunk web on two ports simultaneously

anoopambli
Communicator

Is there anyway we can run splunk web on two different ports on a server? as an example we have splunk running on a server at 8000 port and web is accessible at http://:8000. One of my customer says the splunk page was also accessible in 3000 port earlier.

How do we do that? what is the configuration for it?

0 Karma

bmacias84
Champion

Ok, Splunk doesn't let you bind multiple port for the webserver (Not that I know of). You have a few options, use some solution proxy, Load Balancer, or iptables to forward the request. While there are probably more options I go with iptables. Here is a example using iptables.


#Linux
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 3000 -j REDIRECT --to-port 8000

Additional Reading:

Hope this help or gets you started. Dont forget to vote up and accept answers that help.

Cheers,

0 Karma

anoopambli
Communicator

nix installation.

0 Karma

bmacias84
Champion

Yes, it is possible. Are you running nix or win installation?

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...