# Cannot access elasticsearch on port 9200 (WIndows 10 MSI Install)

**URL:** <https://discuss.elastic.co/t/cannot-access-elasticsearch-on-port-9200-windows-10-msi-install/150282>\
**Category:** Elasticsearch\
**Created:** [September 28, 2018, 3:31am UTC](https://discuss.elastic.co/t/cannot-access-elasticsearch-on-port-9200-windows-10-msi-install/150282 "2018-09-28T03:31:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SpaceMoose](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spacemoose/32/35972_2.png) [@SpaceMoose](https://discuss.elastic.co/u/SpaceMoose)\
**Post date:** [September 28, 2018, 3:31am UTC](https://discuss.elastic.co/t/cannot-access-elasticsearch-on-port-9200-windows-10-msi-install/150282/1 "2018-09-28T03:31:13Z")

</div>

Hello...

Yesterday I downloaded the elasticsearch 6.4.0 Windows (MSI) Installer. I have a preexisting Java 8 install on my machine and also have JAVA\_HOME set appropriately.

The installer appears to run just fine. I'm using these choices:

1. Standard Directories (let the installer decide);
2. _Not_ installed as a service;
3. "Trial" license;

The installation proceeds "successfully." I find when I go to the installation directory, there are bin, lib, modules, and plug-ins (this one is empty) subdirectories but no config, data, nor logs subdirectories.

Another thing worth noting is that the installation is in a directory tree that looks like

Elasticsearch\6.4.0\bin et cetera

If I ignore this and fire up elasticsearch.exe in an admin powershell things sort of look like they're working. But there are clues to problems--it appears the installation is looking for the config in a different directory than the installation directory ( that is, Elasticsearch\config ). The output I see is pasted as a comment to this message (otherwise I exceed the 7k character limit).

Sadly, if I point a browser at localhost:9200 I am prompted for a Username and Password, neither of which I set as part of the installation process. Trying the curl-based examples fail due to the same inability to authenticate.

I've tried uninstalling/re-installing but still confront this problem.

Any thoughts on what's happening here and how I can fix things? Clearly the installer isn't putting things where I expect them to be and is in some cases not inserting things.

Thanks in advance and all the best...

---

<div class="post-metadata">

**Author:** ![SpaceMoose](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spacemoose/32/35972_2.png) [@SpaceMoose](https://discuss.elastic.co/u/SpaceMoose)\
**Post date:** [September 28, 2018, 5:13am UTC](https://discuss.elastic.co/t/cannot-access-elasticsearch-on-port-9200-windows-10-msi-install/150282/2 "2018-09-28T05:13:56Z")

</div>

Here's the spew from elasticsearch...

[2018-09-28T15:02:55,711][INFO][o.e.n.Node] [QUAKINGBOGS] initializing ...  
[2018-09-28T15:02:55,768][INFO][o.e.e.NodeEnvironment] [QUAKINGBOGS] using [1] data paths, mounts [[OS (C:)]], net usable\_space [330.9gb], net total\_space [462.6gb], types [NTFS]  
[2018-09-28T15:02:55,769][INFO][o.e.e.NodeEnvironment] [QUAKINGBOGS] heap size [1.9gb], compressed ordinary object pointers [true]  
[2018-09-28T15:02:55,771][INFO][o.e.n.Node] [QUAKINGBOGS] node name [QUAKINGBOGS], node ID [RE1vJAYsSlSgCfzRuvhs2A]  
[2018-09-28T15:02:55,772][INFO][o.e.n.Node] [QUAKINGBOGS] version[6.4.0], pid[18788], build[unknown/unknown/595516e/2018-08-17T23:18:47.308994Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0\_181/25.181-b13]  
[2018-09-28T15:02:55,772][INFO][o.e.n.Node] [QUAKINGBOGS] JVM arguments [-XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=C:\Users\larson\AppData\Local\Temp\elasticsearch, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs\_err\_pid%p.log, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Xmx2048m, -Xms2048m, -Delasticsearch, -Des.path.home=C:\Program Files\Elastic\Elasticsearch\6.4.0, -Des.path.conf=C:\ProgramData\Elastic\Elasticsearch\config]  
Java HotSpot(TM) 64-Bit Server VM warning: Cannot open file logs/gc.log due to No such file or directory

[2018-09-28T15:02:57,358][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [aggs-matrix-stats]  
[2018-09-28T15:02:57,358][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [analysis-common]  
[2018-09-28T15:02:57,358][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [ingest-common]  
[2018-09-28T15:02:57,358][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [lang-expression]  
[2018-09-28T15:02:57,359][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [lang-mustache]  
[2018-09-28T15:02:57,359][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [lang-painless]  
[2018-09-28T15:02:57,359][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [mapper-extras]  
[2018-09-28T15:02:57,359][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [parent-join]  
[2018-09-28T15:02:57,359][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [percolator]  
[2018-09-28T15:02:57,359][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [rank-eval]  
[2018-09-28T15:02:57,359][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [reindex]  
[2018-09-28T15:02:57,359][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [repository-url]  
[2018-09-28T15:02:57,359][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [transport-netty4]  
[2018-09-28T15:02:57,360][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [tribe]  
[2018-09-28T15:02:57,360][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [x-pack-core]  
[2018-09-28T15:02:57,360][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [x-pack-deprecation]  
[2018-09-28T15:02:57,360][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [x-pack-graph]  
[2018-09-28T15:02:57,360][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [x-pack-logstash]  
[2018-09-28T15:02:57,360][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [x-pack-ml]  
[2018-09-28T15:02:57,360][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [x-pack-monitoring]  
[2018-09-28T15:02:57,360][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [x-pack-rollup]  
[2018-09-28T15:02:57,360][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [x-pack-security]  
[2018-09-28T15:02:57,361][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [x-pack-sql]  
[2018-09-28T15:02:57,361][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [x-pack-upgrade]  
[2018-09-28T15:02:57,361][INFO][o.e.p.PluginsService] [QUAKINGBOGS] loaded module [x-pack-watcher]  
[2018-09-28T15:02:57,361][INFO][o.e.p.PluginsService] [QUAKINGBOGS] no plugins loaded  
[2018-09-28T15:03:00,659][INFO][o.e.x.s.a.s.FileRolesStore] [QUAKINGBOGS] parsed [0] roles from file [C:\ProgramData\Elastic\Elasticsearch\config\roles.yml]  
[2018-09-28T15:03:01,195][INFO][o.e.x.m.j.p.l.CppLogMessageHandler] [controller/20692] [Main.cc@109] controller (64 bit): Version 6.4.0 (Build cf8246175efff5) Copyright (c) 2018 Elasticsearch BV  
[2018-09-28T15:03:01,467][DEBUG][o.e.a.ActionModule] [] Using REST wrapper from plugin org.elasticsearch.xpack.security.Security  
[2018-09-28T15:03:01,638][INFO][o.e.d.DiscoveryModule] [QUAKINGBOGS] using discovery type [zen]  
[2018-09-28T15:03:02,296][INFO][o.e.n.Node] [QUAKINGBOGS] initialized  
[2018-09-28T15:03:02,296][INFO][o.e.n.Node] [QUAKINGBOGS] starting ...  
[2018-09-28T15:03:02,868][INFO][o.e.t.TransportService] [QUAKINGBOGS] publish\_address {127.0.0.1:9300}, bound\_addresses {127.0.0.1:9300}, {[::1]:9300}  
[2018-09-28T15:03:05,987][INFO][o.e.c.s.MasterService] [QUAKINGBOGS] zen-disco-elected-as-master ([0] nodes joined)[,], reason: new\_master {QUAKINGBOGS}{RE1vJAYsSlSgCfzRuvhs2A}{YrUfWsEoQEiS2ISjrTYE0A}{127.0.0.1}{127.0.0.1:9300}{ml.machine\_memory=17024614400, xpack.installed=true, ml.max\_open\_jobs=20, ml.enabled=true}  
[2018-09-28T15:03:05,993][INFO][o.e.c.s.ClusterApplierService] [QUAKINGBOGS] new\_master {QUAKINGBOGS}{RE1vJAYsSlSgCfzRuvhs2A}{YrUfWsEoQEiS2ISjrTYE0A}{127.0.0.1}{127.0.0.1:9300}{ml.machine\_memory=17024614400, xpack.installed=true, ml.max\_open\_jobs=20, ml.enabled=true}, reason: apply cluster state (from master [master {QUAKINGBOGS}{RE1vJAYsSlSgCfzRuvhs2A}{YrUfWsEoQEiS2ISjrTYE0A}{127.0.0.1}{127.0.0.1:9300}{ml.machine\_memory=17024614400, xpack.installed=true, ml.max\_open\_jobs=20, ml.enabled=true} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)[,]]])  
[2018-09-28T15:03:06,296][INFO][o.e.l.LicenseService] [QUAKINGBOGS] license [1dba29be-ae4d-4aeb-a408-71303114b174] mode [trial] - valid  
[2018-09-28T15:03:06,310][INFO][o.e.g.GatewayService] [QUAKINGBOGS] recovered [0] indices into cluster\_state  
[2018-09-28T15:03:06,369][INFO][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [QUAKINGBOGS] publish\_address {127.0.0.1:9200}, bound\_addresses {127.0.0.1:9200}, {[::1]:9200}  
[2018-09-28T15:03:06,369][INFO][o.e.n.Node] [QUAKINGBOGS] started

---

<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:** [October 26, 2018, 5:13am UTC](https://discuss.elastic.co/t/cannot-access-elasticsearch-on-port-9200-windows-10-msi-install/150282/3 "2018-10-26T05:13:56Z")

</div>

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