Security

Can't access Splunk through Local Hostname

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 "ERRCONNECTIONRESET" 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

Ultra Champion

chrome://settings/clearBrowserData

Why not try clearing the cache?

0 Karma

Engager

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

0 Karma

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 ?

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 ERRCONNECTIONRESET. So far, the only link that works for me is:
- http://127.0.0.1:8001/
- http://localhost:8001/

0 Karma

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

Communicator

to be precise,

[general]
serverName =

0 Karma

Ultra Champion

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

reference

0 Karma