On 6/28/2018 4:03 AM, Arturas Mazeika wrote:
> f:\solr_server\solr-7.3.1\server\scripts\cloud-scripts\zkcli.bat -zkhost
> localhost:10999 -cmd downconfig -confdir d:\de_wiki_man_config -confname
> de_wiki_man
>
> Caused by: java.io.IOException: Unable to establish loopback connection

Take a look at this SO answer (for android software, not Solr):

https://stackoverflow.com/a/42548312/2665648

You can't use that exact solution, because the _JAVA_OPTIONS environment
variable is not used by Solr or its startup script.  But I think the
underlying problem might be what you're running into:  There may be a
problem with the ipv6 setup on your system.

If you change the address in the command from localhost to 127.0.0.1,
that might fix the problem.

Setting the system property to prefer IPv4 addresses would need to
happen in the zkcli script to fix this command.

Or you can fix the network stack in Windows.  Either set up IPv6
properly, or remove IPv6 entirely.  If you do not actually have ipv6 in
your network, you might try this command on a command prompt that has
privilege elevation:

netsh int ipv6 reset ipv6reset.log

A reboot might be required after that command.

What happens if you type 'ping localhost' from a command prompt?  This
is what I get, indicating that the local ipv6 address is working:

C:\Users\sheisey>ping localhost

Pinging purgatory.REDACTED.com [::1] with 32 bytes of data:
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms
Reply from ::1: time<1ms

Thanks,
Shawn

Reply via email to