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!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...