Splunk Dev

Why does Splunk FREE API port not respond?

ststefa
Engager

Hey there! I try do write some code which will interact with the Splunk REST API. I use the Splunk FREE edition version 8.2.3.3.

Unfortunately I cannot get any response from port 8089:

 

```

curl: (28) Operation timed out after 300523 milliseconds with 0 out of 0 bytes received

```

 

The URI does not matter. I cannot get any reaction whatsoever. Is this a known limitation? Or do I need to configure something?

Thanks a lot for suggestions!

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

AFAIK, there is nothing in the Free license that prevents that (mine works).  Verify your firewall is allowing connections to port 8089.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

ststefa
Engager

Thanks for the reply.  It is not exactly the cause but it hinted me into the right direction. The 8089 port (in my setup) belongs the the forwarder which also runs there. 8087 would've been the right choice for me and in fact it resolves the issue.

Still funny that the forwarder does not react in any way to a request towards its port. But maybe intended.

richgalloway
SplunkTrust
SplunkTrust

AFAIK, there is nothing in the Free license that prevents that (mine works).  Verify your firewall is allowing connections to port 8089.

---
If this reply helps you, Karma would be appreciated.
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Mastering Threat Intelligence in ES 8.5, Splunk AI Assistant v2, and More from Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...