<?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: Cant connect to port 8089 non-localhost, just only localhost in Security</title>
    <link>https://community.splunk.com/t5/Security/Cant-connect-to-port-8089-non-localhost-just-only-localhost/m-p/358075#M13512</link>
    <description>&lt;P&gt;Hi s2upin, &lt;/P&gt;

&lt;P&gt;you probably need to add the port to firewalld. &lt;/P&gt;

&lt;P&gt;first, verify that splunkd is indeed listening:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunker@n00bserver ~]$ ss -tulpn | grep 8089
tcp    LISTEN     0      128       *:8089                  *:*                   users:(("splunkd",pid=11047,fd=5))
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;firewall-cmd --add-port 8089/tcp --permanent
firewall-cmd --reload
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Verify with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[root@n00bserver ~]# firewall-cmd --list-ports
5907/tcp 1022/tcp 5908/tcp 5222/tcp 9997/tcp 8089/tcp 5900/tcp 5901/tcp 5904/tcp 5905/tcp 80/tcp 514/udp 8000/tcp 5902/tcp 5903/tcp 5906/tcp
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 16 Mar 2017 13:15:51 GMT</pubDate>
    <dc:creator>mattymo</dc:creator>
    <dc:date>2017-03-16T13:15:51Z</dc:date>
    <item>
      <title>Cant connect to port 8089 non-localhost, just only localhost</title>
      <link>https://community.splunk.com/t5/Security/Cant-connect-to-port-8089-non-localhost-just-only-localhost/m-p/358073#M13510</link>
      <description>&lt;P&gt;I'm just install splunk enterprise in centos 7 , but i cant connect splunk enterprise with port 8089 by python sdk in non-localhost, but i can connect and run script in localhost , anyone have solve ?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 12:19:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Cant-connect-to-port-8089-non-localhost-just-only-localhost/m-p/358073#M13510</guid>
      <dc:creator>s2upin</dc:creator>
      <dc:date>2017-03-16T12:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: Cant connect to port 8089 non-localhost, just only localhost</title>
      <link>https://community.splunk.com/t5/Security/Cant-connect-to-port-8089-non-localhost-just-only-localhost/m-p/358074#M13511</link>
      <description>&lt;P&gt;Probably a firewall issue&lt;/P&gt;

&lt;P&gt;On local host run:&lt;BR /&gt;
    systemctl stop firewalld&lt;BR /&gt;
If that fixes the issue, then you know it is the firewall on the local host.  If that does not fix the issue then most likley there is another firewall off the box.&lt;/P&gt;

&lt;P&gt;If the first one fixes your issue then the solution would be to create a firewall policy that would allow remote connectivity to your box on the splunk ports and turn your firewall back on.&lt;/P&gt;

&lt;P&gt;Okie&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2017 13:13:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Cant-connect-to-port-8089-non-localhost-just-only-localhost/m-p/358074#M13511</guid>
      <dc:creator>jwelch_splunk</dc:creator>
      <dc:date>2017-03-16T13:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cant connect to port 8089 non-localhost, just only localhost</title>
      <link>https://community.splunk.com/t5/Security/Cant-connect-to-port-8089-non-localhost-just-only-localhost/m-p/358075#M13512</link>
      <description>&lt;P&gt;Hi s2upin, &lt;/P&gt;

&lt;P&gt;you probably need to add the port to firewalld. &lt;/P&gt;

&lt;P&gt;first, verify that splunkd is indeed listening:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[splunker@n00bserver ~]$ ss -tulpn | grep 8089
tcp    LISTEN     0      128       *:8089                  *:*                   users:(("splunkd",pid=11047,fd=5))
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The do:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;firewall-cmd --add-port 8089/tcp --permanent
firewall-cmd --reload
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Verify with:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[root@n00bserver ~]# firewall-cmd --list-ports
5907/tcp 1022/tcp 5908/tcp 5222/tcp 9997/tcp 8089/tcp 5900/tcp 5901/tcp 5904/tcp 5905/tcp 80/tcp 514/udp 8000/tcp 5902/tcp 5903/tcp 5906/tcp
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Mar 2017 13:15:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Cant-connect-to-port-8089-non-localhost-just-only-localhost/m-p/358075#M13512</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-03-16T13:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: Cant connect to port 8089 non-localhost, just only localhost</title>
      <link>https://community.splunk.com/t5/Security/Cant-connect-to-port-8089-non-localhost-just-only-localhost/m-p/358076#M13513</link>
      <description>&lt;P&gt;Examples below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Splunk Enterprise also requires several ports to be opened through the firewall(s). To allow
these ports through the built-in firewalld on RHEL enter the following commands:
sudo firewall-cmd -permanent --add-port =8000/tcp
sudo firewall-cmd -permanent --add-port =9997/tcp
sudo firewall-cmd -permanent --add-port =514/tcp
sudo firewall-cmd -permanent --add-port =514/udp
sudo firewall-cmd -reload
sudo firewall-cmd -list-ports
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Mar 2017 13:19:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Cant-connect-to-port-8089-non-localhost-just-only-localhost/m-p/358076#M13513</guid>
      <dc:creator>jwelch_splunk</dc:creator>
      <dc:date>2017-03-16T13:19:06Z</dc:date>
    </item>
    <item>
      <title>Re: Cant connect to port 8089 non-localhost, just only localhost</title>
      <link>https://community.splunk.com/t5/Security/Cant-connect-to-port-8089-non-localhost-just-only-localhost/m-p/358077#M13514</link>
      <description>&lt;P&gt;Tks you so much &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 18:13:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/Cant-connect-to-port-8089-non-localhost-just-only-localhost/m-p/358077#M13514</guid>
      <dc:creator>s2upin</dc:creator>
      <dc:date>2017-03-17T18:13:54Z</dc:date>
    </item>
  </channel>
</rss>

