org.dspace.discovery.SearchServiceException: Server refused connection at: http://localhost:8080/solr/search

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

Check if your MongoDB is available.

,
via GitHub by rawlingsj

host port isnt set

Solutions on the web

via Google Groups by Hassan Bhuiyan, 4 months ago
via Google Groups by Nor Hazira Mat Noh (HQ), 1 year ago
Server refused connection at: http://localhost:8080/solr/search
via Google Groups by Hassan Bhuiyan, 4 months ago
Server refused connection at: http://localhost:8080/solr/search
via Google Groups by Dr. Pawan Agrawal, 1 year ago
Server refused connection at: http: //localhost:8082/solr/search
via Google Groups by Emmanuel Wilson, 5 months ago
Server refused connection at: http: //localhost:8082/solr/search
via Google Groups by Satya, 4 months ago
Server at http://localhost:8080/solr/search returned non ok status:500, message:Internal Server Error
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at org.apache.http.conn.scheme.PlainSocketFactory.connectSocket(PlainSocketFactory.java:127)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:180)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:294)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:640)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:479)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:365)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
at org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:285)
at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:450)
at org.dspace.discovery.IndexClient.main(IndexClient.java:119)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225)

Users with the same issue

Once, 11 hours ago
480 times, 11 hours ago
2 times, 2 days ago
23 times, 2 days ago
5 times, 2 days ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.