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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...