Security
Highlighted

How do I find out what port Splunk is running on?

Splunk Employee
Splunk Employee

I have installed Splunk multiple times on my machine and I am trying to figure out what ports I have configured. Is there a way to see what ports Splunk is running on?

Tags (2)
Highlighted

Re: How do I find out what port Splunk is running on?

Splunk Employee
Splunk Employee

There are three ways to verify the ports that are configured for Splunk. By default, Splunk will run on port 8000 for the web services and port 8089 for splunkd services.

  1. Check the $SPLUNK_HOME/etc/system/local/web.conf for port settings:

    mgmtHostPort = 127.0.0.1:8089
    httpport = 8000

  2. Run the following command:

    ./splunk show web-port

    ./splunk show splunkd-port

  3. Use the btool command to see web.conf settings:

    ./splunk cmd btool web list --debug

View solution in original post

Highlighted

Re: How do I find out what port Splunk is running on?

Splunk Employee
Splunk Employee

By the way, when installing Splunk on Windows, if the default ports (8000, 8089) are taken, Splunk will automatically bind to the next available port.