Reputation: 249
we are using solr version 6.5.1 ,we are set the solr in server need to access the url outside server ,we using server windows server 2012 now local host weare using this url how to access this url in outside
http://localhost:8983/solr/kmartdev/select?&indent=on&defType=dismax&q=amul&qf=name+model&wt=json
Upvotes: 1
Views: 4056
Reputation: 1940
When client is in same network, then you don't need to have a public IP of the server to access it. Follow these steps:
XX.XX.XX.XX solr.com
http://solr.com:8983/solr/
for admin panel.To access the server that is not in your domain, you need to have a public IP. If you have taken the domain name then use http://yourdomain.com:8983/solr/
, but if not, then add in host, or directly use IP address (steps are same as in the previous ones)
Upvotes: 2
Reputation: 249
I got the answer, actually we need to open a port into our server. So, I've opened a post from control panel-> windows firewall-> inbound rules. And I've opened same port into azure server also. Now I can access my solr from anywhere.
Hope this answer will help someone and save their time. :)
Upvotes: 2