# Cannot access Kibana from remote PC

**URL:** <https://discuss.elastic.co/t/cannot-access-kibana-from-remote-pc/234135>\
**Category:** Kibana\
**Created:** [May 25, 2020, 11:04am UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-remote-pc/234135 "2020-05-25T11:04:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kcat](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kcat](https://discuss.elastic.co/u/kcat)\
**Post date:** [May 25, 2020, 11:04am UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-remote-pc/234135/1 "2020-05-25T11:04:40Z")

</div>

Hi, I am new in ES. I get a problem in Kibana. My remote PC cannot access to Kibana. Can anyone please help?

**Kibana.yml**  
server.port: 5601  
server.host: "0.0.0.0"  
elasticsearch.hosts: ["[http://localhost:9200](http://localhost:9200)"]

It work when I use localhost:  
wget -O - [http://127.0.0.1:5601](http://127.0.0.1:5601)

However, error occur when I run:  
wget -O - http://[IP address]:5601  
Connecting to [IP address]:5601... failed: Connection refused.

I tried to run netstat:  
[root@localhost config]# netstat -plant | grep 5601  
tcp 0 0 127.0.0.1:5601 0.0.0.0:\* LISTEN 16848/./bin/../node

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 26, 2020, 12:33am UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-remote-pc/234135/2 "2020-05-26T00:33:48Z")

</div>

Welcome! 😃

Does the Kibana host have a firewall in place?

---

<div class="post-metadata">

**Author:** ![kcat](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kcat](https://discuss.elastic.co/u/kcat)\
**Post date:** [May 26, 2020, 1:45am UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-remote-pc/234135/3 "2020-05-26T01:45:37Z")

</div>

yes, it have firewall. I have set the rule in iptables.

Even I typed wget in the host machine also don't work.

wget -O - http://[IP address]:5601  
Connecting to [IP address]:5601... failed: Connection refused.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 26, 2020, 1:46am UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-remote-pc/234135/4 "2020-05-26T01:46:08Z")

</div>

Are you sure Kibana is running, what do the logs show?

---

<div class="post-metadata">

**Author:** ![kcat](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kcat](https://discuss.elastic.co/u/kcat)\
**Post date:** [May 26, 2020, 2:27am UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-remote-pc/234135/5 "2020-05-26T02:27:11Z")

</div>

Yes, I am sure the Kibana is running. When i type wget by localhost is work.  
wget -O -[http://127.0.0.1:5601](http://127.0.0.1:5601)

Below is the Kibana's logs:

[root@localhost kibana-7.7.0-linux-x86\_64]# ./bin/kibana --allow-root  
log [02:01:11.468] [warning][plugins-discovery] Expect plugin id in camelCase, but found: apm\_oss  
log [02:01:11.496] [warning][plugins-discovery] Expect plugin id in camelCase, but found: file\_upload  
log [02:01:11.501] [warning][plugins-discovery] Expect plugin id in camelCase, but found: triggers\_actions\_ui  
log [02:02:12.809] [info][plugins-system] Setting up [76] plugins: [siem,taskManager,encryptedSavedObjects,licensing,eventLog,code,usageCollection,metrics,ossTelemetry,lens,telemetryCollectionManager,telemetry,telemetryCollectionXpack,timelion,features,visTypeVega,kibanaLegacy,devTools,apm\_oss,translations,observability,rollup,statusPage,uiActions,charts,share,savedObjects,newsfeed,kibanaUtils,kibanaReact,inspector,maps,embeddable,drilldowns,advancedUiActions,esUiShared,discover,bfetch,expressions,visualizations,data,home,cloud,console,consoleExtensions,searchprofiler,painlessLab,canvas,management,upgradeAssistant,security,snapshotRestore,transform,licenseManagement,indexManagement,remoteClusters,watcher,reporting,advancedSettings,spaces,actions,case,alerting,apm,alertingBuiltins,triggers\_actions\_ui,uptime,ml,telemetryManagementSection,file\_upload,dataEnhanced,infra,monitoring,navigation,graph,dashboard]  
log [02:02:12.815] [warning][config][encryptedSavedObjects][plugins] Generating a random key for xpack.encryptedSavedObjects.encryptionKey. To be able to decrypt encrypted saved objects attributes after restart, please set xpack.encryptedSavedObjects.encryptionKey in kibana.yml  
log [02:02:13.435] [warning][config][plugins][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml  
log [02:02:13.435] [warning][config][plugins][security] Session cookies will be transmitted over insecure connections. This is not recommended.  
log [02:02:13.534] [warning][actions][actions][plugins] APIs are disabled due to the Encrypted Saved Objects plugin using an ephemeral encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in kibana.yml.  
log [02:02:13.569] [warning][alerting][alerting][plugins][plugins] APIs are disabled due to the Encrypted Saved Objects plugin using an ephemeral encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in kibana.yml.  
log [02:02:13.815] [info][monitoring][monitoring][plugins] config sourced from: production cluster  
log [02:02:13.817] [warning][monitoring][monitoring][plugins] X-Pack Monitoring Cluster Alerts will not be available: undefined  
log [02:02:14.129] [info][savedobjects-service] Waiting until all Elasticsearch nodes are compatible with Kibana before starting saved objects migrations...  
log [02:02:14.138] [info][plugins][watcher] Your basic license does not support watcher. Please upgrade your license.  
log [02:02:14.140] [info][kibana-monitoring][monitoring][monitoring][plugins] Starting monitoring stats collection  
log [02:02:14.174] [info][savedobjects-service] Starting saved objects migrations  
log [02:02:14.294] [info][plugins-system] Starting [53] plugins: [siem,taskManager,encryptedSavedObjects,licensing,eventLog,code,usageCollection,metrics,ossTelemetry,lens,telemetryCollectionManager,telemetry,telemetryCollectionXpack,timelion,features,visTypeVega,kibanaLegacy,apm\_oss,translations,rollup,share,bfetch,expressions,visualizations,data,home,cloud,console,consoleExtensions,searchprofiler,painlessLab,canvas,upgradeAssistant,security,snapshotRestore,transform,licenseManagement,indexManagement,remoteClusters,watcher,spaces,actions,case,alerting,apm,alertingBuiltins,uptime,ml,file\_upload,dataEnhanced,infra,monitoring,graph]  
log [02:02:27.499] [info][status][plugin:kibana@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.532] [info][status][plugin:elasticsearch@7.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch  
log [02:02:27.549] [info][status][plugin:elasticsearch@7.7.0] Status changed from yellow to green - Ready  
log [02:02:27.569] [info][status][plugin:xpack\_main@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.632] [info][status][plugin:graph@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.638] [info][status][plugin:monitoring@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.649] [info][status][plugin:spaces@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.654] [info][status][plugin:security@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.662] [info][status][plugin:interpreter@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.666] [info][status][plugin:vis\_type\_vislib@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.670] [info][status][plugin:tilemap@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.674] [info][status][plugin:grokdebugger@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.686] [info][status][plugin:dashboard\_mode@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.690] [info][status][plugin:logstash@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.714] [info][status][plugin:beats\_management@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.777] [info][status][plugin:apm\_oss@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.792] [info][plugins][taskManager][taskManager] TaskManager is identified by the Kibana UUID: 463f0845-4d28-4414-bac1-095501c6d68f  
log [02:02:27.796] [info][status][plugin:task\_manager@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.834] [info][status][plugin:apm@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.878] [info][status][plugin:maps@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.883] [info][status][plugin:canvas@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.891] [info][status][plugin:index\_lifecycle\_management@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.926] [info][status][plugin:rollup@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:27.944] [info][status][plugin:encryptedSavedObjects@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.093] [info][status][plugin:siem@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.098] [info][status][plugin:remoteClusters@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.104] [info][status][plugin:cross\_cluster\_replication@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.120] [info][status][plugin:upgrade\_assistant@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.131] [info][status][plugin:console\_legacy@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.143] [info][status][plugin:input\_control\_vis@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.152] [info][status][plugin:kibana\_react@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.156] [info][status][plugin:stack-management@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.164] [info][status][plugin:region\_map@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.205] [info][status][plugin:ui\_metric@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.209] [info][status][plugin:vis\_default\_editor@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.214] [info][status][plugin:markdown\_vis@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.227] [info][status][plugin:metric\_vis@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.231] [info][status][plugin:table\_vis@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.240] [info][status][plugin:tagcloud@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.248] [info][status][plugin:timelion\_vis@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.260] [info][status][plugin:vis\_type\_vega@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:28.267] [warning][reporting] Enabling the Chromium sandbox provides an additional layer of protection.  
log [02:02:29.335] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml  
log [02:02:29.352] [info][status][plugin:reporting@7.7.0] Status changed from uninitialized to green - Ready  
log [02:02:29.461] [info][listening] Server running at [http://localhost:5601](http://localhost:5601)  
log [02:02:31.289] [info][server][Kibana][http] http server running at [http://localhost:5601](http://localhost:5601)

---

<div class="post-metadata">

**Author:** ![kcat](https://avatars.discourse-cdn.com/v4/letter/k/f08c70/32.png) [@kcat](https://discuss.elastic.co/u/kcat)\
**Post date:** [May 26, 2020, 9:09am UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-remote-pc/234135/6 "2020-05-26T09:09:39Z")

</div>

It should be something wrong in kibana.yml. I updated it and restart the kibana.

It's work now. Thanks!

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [May 26, 2020, 4:12pm UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-remote-pc/234135/7 "2020-05-26T16:12:18Z")

</div>

Great to know..thanks for the update!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 23, 2020, 4:12pm UTC](https://discuss.elastic.co/t/cannot-access-kibana-from-remote-pc/234135/8 "2020-06-23T16:12:25Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
