Splunk Error: port is already bound

Error

[root@ip-172-31-19-160 bin]# pwd
/opt/splunkforwarder/bin
[root@ip-172-31-19-160 bin]# ./splunk start --accept-license

Splunk> The Notorious B.I.G. D.A.T.A.

Checking prerequisites...
        Checking mgmt port [8089]: not available
ERROR: mgmt port [8089] - port is already bound.  Splunk needs to use this port.
Would you like to change ports? [y/n]:

Solution

Check if port 8089 is used by some other services.