Installation

How can i change the default 8000 port where splunk web interface get installed?

raghavjha73
New Member

Can i change the default 8000 port for the splunk web interface? Usually if i install splunk, it gets started at default 8000 port. If this port is not accessible in my network, where can i change this port?

Tags (1)
0 Karma

livehybrid
SplunkTrust
SplunkTrust

You can use the following command: $SPLUNK_HOME/bin/splunk set web-port 8080 (Where 8080 is your new port).

Alternatively you can edit the web.conf (http://docs.splunk.com/Documentation/Splunk/latest/Admin/Webconf)
Put the following in $SPLUNK_HOME/etc/system/local/web.conf (create if doesnt exist)

[settings]
httpport = 8080
0 Karma

livehybrid
SplunkTrust
SplunkTrust

And then restart splunk 🙂

0 Karma

deepashri_123
Motivator

Hey raghavjha73,

You can use the following command:

splunk set web-port (port)

Reference:
http://docs.splunk.com/Documentation/Splunk/latest/Admin/Changedefaultvalues#Change_network_ports

deepashri_123
Motivator

@raghavjha73 Please accept the answer if that helped and close the question!!

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...