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!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...