This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Curl Connect

0

Hello,

We are facing a problem in using Openstreet map when I choose Openstreet Api in Geocoder API (primary) in the settings of openstreet map it shows an error on all devices 'CURLE_COULDNT_CONNECT' It seems like openstreet map has blocked our server IP. Can you please let us know how to unblock the IP of our server. Here is the detailed error:

CURLE_COULDNT_CONNECT: Failed to connect to nominatim.openstreetmap.... Connection refused.

Please help to resolve this issue.

Thankyou

asked 16 Aug '23, 13:54

Rehan%20Butt's gravatar image

Rehan Butt
11112
accept rate: 0%


One Answer:

1

There are limitations on the use of the free Nominatim service. You have likely vilated one or more of the requirements in https://operations.osmfoundation.org/policies/nominatim/ - perhaps you have not identified yourselves properly, or made more than one request per second.

For heavy use, it is suggested to set up your own Nominatim server - that way you are bearing the cost of server operations, rather than using donation-sponsored OSM resources for your project. The data and the software are free to use - go to nominatim.org to learn how to install your own server.

There also commercial providers of Nominatim services in case you'd prefer someone else to do the work for you, see https://wiki.openstreetmap.org/wiki/Commercial_OSM_Software_and_Services for a selection of providers.

answered 16 Aug '23, 14:01

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

Source code available on GitHub .