Training + Certification Discussions

Splunk localhost:8001 is not working

rajeshwarimagal
New Member

I am doing Splunk Fundamentals 1 and 2 course. To practice lab, I have been logging in using http://localhost:8001 but now it is not connecting.

Tags (1)
0 Karma

soumyasaha25
Contributor

Can you check web.conf in /etc/system/default and check for the port that is set for splunkweb see attribute "httpport".
So if it is set to port 8002 you use http://localhost:8002

0 Karma

harsmarvania57
Ultra Champion

You need to provide more details. Is Splunk running on your machine ?

0 Karma

rajeshwarimagal
New Member

Yes. It is running on my desktop

0 Karma

harsmarvania57
Ultra Champion

Are there any error message in $SPLUNK_HOME/var/log/splunk/splunkd.log or $SPLUNK_HOME/var/log/splunk/web_service.log ? Are you running splunk on http or https ? Have you tried to connect using https://localhost:8001 ? By default splunk web runs on port 8000 but in your question you mentioned port 8001 so have you changed configuration to run splunk web on port 8001 ?

0 Karma

rajeshwarimagal
New Member

localhost:8000 is throwing "Page not found error". One of my colleagues checked with Splunk support team and was suggested to use 8001. It was working till 2 days before. From yesterday it is not working. And yes, I tried https://localhost:8001 as well and getting below error.

This site can’t be reachedlocalhost refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

0 Karma

nickhills
Ultra Champion

Is it possible you have restarted your workstation, and might you be running on a mac?

By default, a Mac install will not start the splunk service on system restart.

If my comment helps, please give it a thumbs up!
0 Karma

rajeshwarimagal
New Member

Yes. My system is restarted but it is not Mac. Mine is windows.

For Fundamentals 2 course, I have lab server to which I can directly connect. Splunk has given that facility.

I will post questions further if any. Thank you very much.

0 Karma

rajeshwarimagal
New Member

I will try this. Thank you

0 Karma

harsmarvania57
Ultra Champion

Are there any error message in $SPLUNK_HOME/var/log/splunk/splunkd.log or $SPLUNK_HOME/var/log/splunk/web_service.log or $SPLUNK_HOME/var/log/splunk/web_access.log ?

0 Karma

rajeshwarimagal
New Member

Have to check yet. Will get back soon

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...