damienbod / ElasticsearchCRUD

Elasticsearch .NET netstandard API
http://damienbod.com/2014/09/22/elasticsearch-crud-net-provider/
176 stars 49 forks source link

No connection could be made because the target machine actively refused it 127.0.0.1:9200 #128

Closed mahalakshmibv closed 9 years ago

mahalakshmibv commented 9 years ago

No connection could be made because the target machine actively refused it 127.0.0.1:9200

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:9200

Tool: visual studio 2012(MVC application) OS:windows

damienbod commented 9 years ago

This seems like a firewall problem. See if you can reach http://localhost:9200 in your browser, then you can find out if elasticsearch can be accessed with this URL). Or try turning off the firewall or allow access for this address.

greetings Damien