<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How do I find out what port Splunk is running on? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/12682#M228</link>
    <description>&lt;P&gt;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.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Check the $SPLUNK_HOME/etc/system/local/web.conf for port settings:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;P&gt;mgmtHostPort = 127.0.0.1:8089&lt;BR /&gt;
  httpport = 8000&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Run the following command:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;P&gt;./splunk show web-port&lt;/P&gt;
  
  &lt;P&gt;./splunk show splunkd-port&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Use the btool command to see web.conf settings:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;P&gt;./splunk cmd btool web list --debug&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Sat, 01 May 2010 00:49:49 GMT</pubDate>
    <dc:creator>Simeon</dc:creator>
    <dc:date>2010-05-01T00:49:49Z</dc:date>
    <item>
      <title>How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/12681#M227</link>
      <description>&lt;P&gt;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?&lt;/P&gt;</description>
      <pubDate>Sat, 01 May 2010 00:46:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/12681#M227</guid>
      <dc:creator>Simeon</dc:creator>
      <dc:date>2010-05-01T00:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/12682#M228</link>
      <description>&lt;P&gt;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.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Check the $SPLUNK_HOME/etc/system/local/web.conf for port settings:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;P&gt;mgmtHostPort = 127.0.0.1:8089&lt;BR /&gt;
  httpport = 8000&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Run the following command:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;P&gt;./splunk show web-port&lt;/P&gt;
  
  &lt;P&gt;./splunk show splunkd-port&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Use the btool command to see web.conf settings:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;P&gt;./splunk cmd btool web list --debug&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Sat, 01 May 2010 00:49:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/12682#M228</guid>
      <dc:creator>Simeon</dc:creator>
      <dc:date>2010-05-01T00:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/12683#M229</link>
      <description>&lt;P&gt;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.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2010 23:11:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/12683#M229</guid>
      <dc:creator>Ledio_Ago</dc:creator>
      <dc:date>2010-05-06T23:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/564578#M15558</link>
      <description>&lt;P&gt;Is there any way to find out the port on which Splunk is set up programmatically using Splunk Java SDK? Basically to read the entry from&amp;nbsp;&lt;SPAN&gt;$SPLUNK_HOME/etc/system/local/web.conf?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 16:27:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/564578#M15558</guid>
      <dc:creator>kinjalmistry</dc:creator>
      <dc:date>2021-08-24T16:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/564596#M15559</link>
      <description>&lt;P&gt;This would have been better asked in a new question instead of as a reply to an 11 year old one... &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can use a REST API call to get that info programmatically, here's a search example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rest /services/server/settings | fields *Port *port&lt;/LI-CODE&gt;&lt;P&gt;The Java SDK has a class named "Settings" with methods to retrieve host and port values, among other settings.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 17:44:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/564596#M15559</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2021-08-24T17:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/648938#M17081</link>
      <description>&lt;P&gt;Under what directory do we run ./splunk show web-port please?&amp;nbsp; I tried it under /Applications/Splunk, it didn't work.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2023 16:58:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/648938#M17081</guid>
      <dc:creator>rutherglen</dc:creator>
      <dc:date>2023-07-02T16:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/648942#M17082</link>
      <description>&lt;P&gt;&lt;EM&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/258285"&gt;@rutherglen&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I tried it under /Applications/Splunk, it didn't work.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I understand you are on linux.. so splunk is mostly installed on /opt/splunk and the splunk executable file is present at /opt/splunk/bin/splunk.&lt;/P&gt;&lt;P&gt;so you should run the above command like this:&lt;/P&gt;&lt;P&gt;/opt/splunk/bin&lt;SPAN&gt;/splunk show web-port&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for windows users...&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;c:\Program Files\Splunk\bin&amp;gt;.\splunk show web-port&lt;BR /&gt;WARNING: Server Certificate Hostname Validation is disabled. Please see server.conf/[sslConfig]/cliVerifyServerName for details.&lt;BR /&gt;Splunk username: admin&lt;BR /&gt;Password:&lt;BR /&gt;Web port: 8000&lt;/P&gt;&lt;P&gt;c:\Program Files\Splunk\bin&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards, Sekar&lt;/P&gt;&lt;P&gt;For Splunk newbies alone, I have created a youtube channel.. pls check it out -&amp;nbsp;&lt;A href="https://www.youtube.com/@SplunkNewbies101/videos" target="_blank"&gt;https://www.youtube.com/@SplunkNewbies101/videos&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 01:14:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/648942#M17082</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2023-07-03T01:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/648946#M17083</link>
      <description>&lt;P&gt;Well, I am using Mac.&amp;nbsp; So I tried this cmd: /Applications/Splunk/bin/splunk show web-port&lt;/P&gt;&lt;P&gt;I said yes to the agreement, and I get these error msg's:&lt;/P&gt;&lt;P&gt;subprocess.CalledProcessError: Command '['/Applications/Splunk/bin/splunkd', 'local-rest-uri', '-p', '8089']' died with &amp;lt;Signals.SIGABRT: 6&amp;gt;.&lt;/P&gt;&lt;P&gt;The second error msg is:&lt;/P&gt;&lt;P&gt;During handling of the above exception, another exception occurred:&lt;/P&gt;&lt;P&gt;splunk.clilib.control_exceptions.ConfigError: ("Unable to retrieve splunkd management port using '/Applications/Splunk/bin/splunkd local-rest-uri -p 8089': ",)&lt;/P&gt;&lt;P&gt;Google is not much help.&amp;nbsp; Thanks a lot for your help so far.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 02:33:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/648946#M17083</guid>
      <dc:creator>rutherglen</dc:creator>
      <dc:date>2023-07-03T02:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/648947#M17084</link>
      <description>&lt;P&gt;i hope this one ur personal splunk i think..(on production splunk we should not face such issues actually;) )&lt;/P&gt;&lt;P&gt;the error looks strange actually.. we need more details... is splunk GUI working fine or not..&amp;nbsp;&lt;/P&gt;&lt;P&gt;is data onboarding working fine or not.. approx how long u r facing this issue..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if this is ur personal splunk instance, then, maybe, the simple solution is to uninstall and resinstall..&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 02:45:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/648947#M17084</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2023-07-03T02:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/648948#M17085</link>
      <description>&lt;P&gt;Yeah, it's my personal Splunk.&amp;nbsp; I'm taking a training and trying to follow along.&amp;nbsp; I'm using an old Mac, 10.12 or 13, I think.&amp;nbsp; Splunk prob doesn't support lower than 10.14.&amp;nbsp; But it says it's installed successfully and I have an icon on my desktop.&amp;nbsp; It self-installed and i never had to select ports, it seems something went wrong with port assignment.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jul 2023 02:53:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/648948#M17085</guid>
      <dc:creator>rutherglen</dc:creator>
      <dc:date>2023-07-03T02:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/649186#M17091</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You could run Splunk 8.0.10 on macOS 10.13 and probably 7.2.x on macOS 10.12?&amp;nbsp;&lt;A href="https://www.splunk.com/en_us/download/previous-releases.html" target="_blank" rel="noopener"&gt;https://www.splunk.com/en_us/download/previous-releases.html&lt;/A&gt;&amp;nbsp;seems to have at least 8.1.x and 7.1.9 versions for free download.&lt;/P&gt;&lt;P&gt;At least some newer versions can installed into old macOS versions, but it's not sure that those are running without issues on these.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jul 2023 17:15:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/649186#M17091</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-07-04T17:15:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/649500#M17098</link>
      <description>&lt;P&gt;I didn't have a web.conf at step one of your instructions, so I made it with the K/V pair, my Splunk still didn't work.&lt;/P&gt;&lt;P&gt;I ran the two cmds(one by one), a license agreement came up instead of the results of the cmds, I typed y, and the original error msg came up again, Unable to retrieve splunkd management port using '/Applications/Splunk/bin/splunkd local-rest-uri -p 8089'&lt;/P&gt;</description>
      <pubDate>Thu, 06 Jul 2023 14:03:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/649500#M17098</guid>
      <dc:creator>rutherglen</dc:creator>
      <dc:date>2023-07-06T14:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/649903#M17100</link>
      <description>&lt;P&gt;You can always hit the REST API programatically. For example to find the web port you could use:&amp;nbsp;curl -k -u admin:password &lt;A href="https://localhost:8089/services/propertieb/settings/httpport" target="_blank"&gt;https://localhost:8089/services/propertieb/settings/httpport&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 21:40:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/649903#M17100</guid>
      <dc:creator>tchase</dc:creator>
      <dc:date>2023-07-10T21:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/649904#M17101</link>
      <description>&lt;P&gt;Sorry the web url didn't past properly:&amp;nbsp;curl-u admin:password &lt;A href="https://localhost:8089/services/properties/web/settings/httpport" target="_blank"&gt;https://localhost:8089/services/properties/web/settings/httpport&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 21:42:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/649904#M17101</guid>
      <dc:creator>tchase</dc:creator>
      <dc:date>2023-07-10T21:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I find out what port Splunk is running on?</title>
      <link>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/690279#M17925</link>
      <description>&lt;P&gt;I found it in this folder structure --&amp;gt;&amp;nbsp;C:\Program Files\Splunk\etc\system\default\web.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 22:35:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-do-I-find-out-what-port-Splunk-is-running-on/m-p/690279#M17925</guid>
      <dc:creator>vidyaEdilebert</dc:creator>
      <dc:date>2024-06-10T22:35:41Z</dc:date>
    </item>
  </channel>
</rss>

