I installed the Elasticsearch and kibana on Ubuntu 20 on the same machine, at first everything was working very well but after restarting the Ubuntu cant open the Kibana from the broswers in the same time to services is running, give me this error "curl: (7) Failed to connect to x.x.x.x port 5601: Connection refused" with curl x.x.x.x:5601 Command.
So Anyone can help in this issue
kibana.Yml Configuration file
# For more configuration options see the configuration guide for Kibana in
# Documentation
# =================== System: Kibana Server ===================
# Kibana is served by a back end server. This setting specifies the port to use.
server.port: 5601
# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid valu>
# The default is 'localhost', which usually means remote machines will not be able to connect.
# To allow connections from remote users, set this parameter to a non-loopback address.
server.host: "0.0.0.0"
# Enables you to specify a path to mount Kibana at if you are running behind a proxy.
# Use the server.rewriteBasePath
setting to tell Kibana if it should remove the basePath
# from requests it receives, and to prevent a deprecation warning at startup.
# This setting cannot end in a slash.
server.basePath: ""
# Specifies whether Kibana should rewrite requests that are prefixed with
# server.basePath
or require that they are rewritten by your reverse proxy.
# Defaults to false
.
server.rewriteBasePath: false
# Specifies the public URL at which Kibana is available for end users. If
# server.basePath
is configured this URL should end with the same basePath.
server.publicBaseUrl: ""
# The maximum payload size in bytes for incoming server requests.
server.maxPayload: 1048576
# The Kibana server's name. This is used for display purposes.
server.name: "your-hostname"
# =================== System: Kibana Server (Optional) ===================
# Enables SSL and paths to the PEM-format SSL certificate and SSL key files, respectively.
# These settings enable SSL for outgoing requests from the Kibana server to the browser.
server.ssl.enabled: false
server.ssl.certificate: /path/to/your/server.crt
server.ssl.key: /path/to/your/server.key