Security

Can't access Splunk through Local Hostname

isaac_su
Engager

Hi,

I have previously installed Splunk Free and is able to access the Web Interface through my local hostname as so.
"MyPcName:8001" in Google Chrome.

However, it stopped working out of the blue one day as Chrome returns "ERR_CONNECTION_RESET" whenever i tried to connect via the local hostname. I've managed to connect to Splunk by using the localhost IP "127.0.0.1".

Have anyone encountered a problem similar to this before? If so, how did you manage to troubleshoot it?
Thanks in advance!

0 Karma

to4kawa
Ultra Champion

chrome://settings/clearBrowserData

Why not try clearing the cache?

0 Karma

isaac_su
Engager

I've tried that but to no avail T-T

0 Karma

sanjeev543
Communicator

Could you check if you are able to ping local host ? ping localhost
And check if your loopback address is getting accessed with the local host name ? nslookup 127.0.0.1 ?

isaac_su
Engager

Hi Sanjeev,
I'm able to ping localhost and nslookup 127.0.0.1 returns me :
Name: localhost
Address: 127.0.0.1

Given that, "C:\Program Files\Splunk\bin> splunk start" returns me -
"The Splunk web interface is at http://MyPcName:8001". But that link always returns me ERR_CONNECTION_RESET. So far, the only link that works for me is:
- http://127.0.0.1:8001/
- http://localhost:8001/

0 Karma

sanjeev543
Communicator

Could you please check serverName config in server.conf file under $SH/etc/system/local
and if not updated with your PC name and change it and restart Splunk and try connecting with http://MyPcName:8001

0 Karma

sanjeev543
Communicator

to be precise,

[general]
serverName =

0 Karma

to4kawa
Ultra Champion

C:\Windows\System32\drivers\etc\hosts
check this.

reference

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...