fbpx

Apache Solr port 8983 is blocked

886 views September 27, 2016 October 20, 2016 admin 1

Message

We could not connect to your Solr server. It’s probably because the port is blocked. Please try another port, for instance 443, or contact your hosting provider/network administrator to unblock your port.
Solr HTTP error: HTTP request failed, Failed to connect to localhost port 8983: Connection refused

When

During index configuration in wpsolr admin.

Explanation

It probably means that your WordPress hosting provider is blocking all outbound ports, but 80 and 443.

Solution

Use port 80 if your Solr scheme is Http://

Use port 443 if your Solr scheme is Https://

Was this helpful?

1 Comments
  • goncalo Silva says:

    I had the same problem and it took me a while to figure out the solution, since everything on ubuntu server was open but I couldn’t access externally.
    It turns out, my cloud service (Azure) was blocking the connection, so I had to create a firewall rule there to open this port.

    December 3, 2019 at 9:18 pm
Leave A Comment
*
*

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Join Our weekly Newsletter

Receive our latest news once a week, each Thursday afternoon.
Your email is kept 100% private, and you will not receive other stuff in your mailbox.

We keep your data private and share your data only with third parties that make this service possible. Read our Privacy Policy.