The following is the result in my PowerShell for .\elasticsearch-setup-passwords interactive
Connection failure to: http://127.0.0.1:9200/_security/_authenticate?pretty failed: Connection refused: connect
ERROR: Failed to connect to elasticsearch at http://127.0.0.1:9200/_security/_authenticate?pretty. Is the URL correct and elasticsearch running?
And the last log file I have in my C:\ProgramData\Elastic\Elasticsearch\logs repository says :
[2019-08-14T10:10:33,521][INFO ][o.e.e.NodeEnvironment ] [DESKTOP-6CO7VPM] using [1] data paths, mounts [[Windows (C:)]], net usable_space [39.6gb], net total_space [191gb], types [NTFS]
[2019-08-14T10:10:33,554][INFO ][o.e.e.NodeEnvironment ] [DESKTOP-6CO7VPM] heap size [1.9gb], compressed ordinary object pointers [true]
[2019-08-14T10:10:33,694][INFO ][o.e.n.Node ] [DESKTOP-6CO7VPM] node name [DESKTOP-6CO7VPM], node ID [aFPF-fuCTnC81UhMuQaQvw], cluster name [elasticsearch]
[2019-08-14T10:10:33,694][INFO ][o.e.n.Node ] [DESKTOP-6CO7VPM] version[7.3.0], pid[7404], build[default/zip/de777fa/2019-07-24T18:30:11.767338Z], OS[Windows 10/10.0/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/12.0.1/12.0.1+12]
[2019-08-14T10:10:33,694][INFO ][o.e.n.Node ] [DESKTOP-6CO7VPM] JVM home [C:\Users\dalho\OneDrive\Bureau\ELK\elasticsearch-7.3.0-windows-x86_64\elasticsearch-7.3.0\jdk]
[2019-08-14T10:10:33,694][INFO ][o.e.n.Node ] [DESKTOP-6CO7VPM] JVM arguments [-XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -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\dalho\AppData\Local\Temp\elasticsearch, -XX:+HeapDumpOnOutOfMemoryError, -XX:HeapDumpPath=data, -XX:ErrorFile=logs/hs_err_pid%p.log, -Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m, -Djava.locale.providers=COMPAT, -Xmx2048m, -Xms2048m, -Dio.netty.allocator.type=pooled, -XX:MaxDirectMemorySize=1073741824, -Delasticsearch, -Des.path.home=C:\Users\dalho\OneDrive\Bureau\ELK\elasticsearch-7.3.0-windows-x86_64\elasticsearch-7.3.0, -Des.path.conf=C:\ProgramData\Elastic\Elasticsearch\config, -Des.distribution.flavor=default, -Des.distribution.type=zip, -Des.bundled_jdk=true]
[2019-08-14T10:10:50,706][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [aggs-matrix-stats]
[2019-08-14T10:10:50,707][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [analysis-common]
[2019-08-14T10:10:50,708][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [data-frame]
[2019-08-14T10:10:50,708][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [flattened]
[2019-08-14T10:10:50,709][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [ingest-common]
[2019-08-14T10:10:50,709][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [ingest-geoip]
[2019-08-14T10:10:50,710][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [ingest-user-agent]
[2019-08-14T10:10:50,711][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [lang-expression]
[2019-08-14T10:10:50,712][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [lang-mustache]
[2019-08-14T10:10:50,712][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [lang-painless]
[2019-08-14T10:10:50,712][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [mapper-extras]
[2019-08-14T10:10:50,713][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [parent-join]
[2019-08-14T10:10:50,713][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [percolator]
[2019-08-14T10:10:50,713][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [rank-eval]
[2019-08-14T10:10:50,714][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [reindex]
[2019-08-14T10:10:50,714][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [repository-url]
[2019-08-14T10:10:50,715][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [transport-netty4]
[2019-08-14T10:10:50,715][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [vectors]
[2019-08-14T10:10:50,716][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [x-pack-ccr]
[2019-08-14T10:10:50,716][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [x-pack-core]
[2019-08-14T10:10:50,716][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [x-pack-deprecation]
[2019-08-14T10:10:50,717][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [x-pack-graph]
[2019-08-14T10:10:50,717][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [x-pack-ilm]
[2019-08-14T10:10:50,720][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [x-pack-logstash]
[2019-08-14T10:10:50,720][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [x-pack-ml]
[2019-08-14T10:10:50,720][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [x-pack-monitoring]
[2019-08-14T10:10:50,721][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [x-pack-rollup]
[2019-08-14T10:10:50,721][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [x-pack-security]
[2019-08-14T10:10:50,721][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [x-pack-sql]
[2019-08-14T10:10:50,722][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [x-pack-voting-only-node]
[2019-08-14T10:10:50,722][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] loaded module [x-pack-watcher]
[2019-08-14T10:10:50,723][INFO ][o.e.p.PluginsService ] [DESKTOP-6CO7VPM] no plugins loaded
[2019-08-14T10:10:54,921][INFO ][o.e.x.m.p.l.CppLogMessageHandler] [DESKTOP-6CO7VPM] [controller/16552] [Main.cc@110] controller (64 bit): Version 7.3.0 (Build ff2f774f78ce63) Copyright (c) 2019 Elasticsearch BV
[2019-08-14T10:10:55,749][INFO ][o.e.d.DiscoveryModule ] [DESKTOP-6CO7VPM] using discovery type [zen] and seed hosts providers [settings]