All Apps and Add-ons

Monitoring for Splunk: How to change the default port number?

rsingh
Explorer

i installed Splunk server on my WSUS server (Windows Server 2008) so i need to change the default port. i made the change in C:\Program Files\Splunk\etc\system\local\web but when i check on Splunk to launch the program it points to http://localhost:8000/

WEB config

[settings]
httpport = 12300
mgmtHostPort = 127.0.0.1:12389

if i manually type in http://localhost:12300 i get to login page after i enter the admin and changeme - i get 500 page server error
This page was linked to from http://localhost:12300/en-US/account/login?return_to=%2Fen-US%2F.

0 Karma
1 Solution

hunters_splunk
Splunk Employee
Splunk Employee

Hi rsingh,

Please change the default ports using the following steps:

  1. In Splunk Web, select Settings > Server settings > General Settings from the menu.
  2. Change one or more of the default ports: management port, web port, App server port, KV store port
  3. Click Save.
  4. Restart Splunk for the changes to take effect.

Hope it helps. Thanks.
Hunter

View solution in original post

hunters_splunk
Splunk Employee
Splunk Employee

Hi rsingh,

Please change the default ports using the following steps:

  1. In Splunk Web, select Settings > Server settings > General Settings from the menu.
  2. Change one or more of the default ports: management port, web port, App server port, KV store port
  3. Click Save.
  4. Restart Splunk for the changes to take effect.

Hope it helps. Thanks.
Hunter

rsingh
Explorer

i was able to get the port changed thanks

0 Karma

rsingh
Explorer

i can't login to change - http://localhost:12300 i get to login page after i enter the admin and changeme - i get 500 page server error
This page was linked to from http://localhost:12300/en-US/account/login?return_to=%2Fen-US%2F.

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...