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!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

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

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...