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
Super Champion

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
Super Champion

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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...