problem: no authorization
curl: (7) Failed connect to localhost:9200; Connection refused
solution: modify the elasticsearch.yml net.host value 0.0.0.0
represents all IP authorization
edit configuration files
vi/usr/local/elasticsearch – 6.2.3/config/elasticsearch. Yml
p>
problem resolved:
test whether the
can be accessed normally
Read More:
- curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
- Solve the MAC terminal download error curl: (7) failed to connect to raw.githubusercontent.com port 443: Connection refused
- JDBC connect to Sql Server to connect to the database–The TCP/IP connection to the host localhost, port 1433 has failed
- error: \*1035 connect() failed (111: Connection refused) while connecting to upstream, client…..
- 【MongoDB】 Failed to connect to 127.0.0.1:27017, reason: Connection refused
- samba Error NT_STATUS_CONNECTION_REFUSED Failed to connect with SMB1 — no workgroup available
- How to solve problems like curl: (7) failed to connect to raw.githubusercontent.com Port 443: problem with connection used
- Nginx reports 502 error, log connect() failed (111: Connection refused) while connecting to upstream. A personal effective solution
- [Linux] curl: (7) failed to connect to 127.0.0.1 port 1086: connection reused solution
- How to Fix java.net.ConnectException: Connection refused: connect
- Failed to connect to 17.0.0.1 port 1080: Connection refused
- failed to connect to ‘192.168.199.143:5555‘: Connection refused
- TCP error code 10061: unable to connect because the target machine actively refused http://localhost :8732/Design_ Time_ Addresses/TeacherHelperServic
- 【Synergy】Error:failed to connect to server:Connection was refused
- error:Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused;error:couldn‘t ….
- solve java.net.ConnectException : Connection refused:connect report errors
- Java connection SQL error, network error IO Exception:Connection refused :connect
- About JMH running ERROR: transport error 202: connect failed: Connection refused ERROR
- Zookeeper connection timeout problem, and refused to connect to solve the problem
- JMeter performance test monitoring server resource reported error: java.net.ConnectException : Connection refused: connect