1

Following this tutorial (Rails Port, OpenStreetMap website) https://github.com/openstreetmap/openstreetmap-website/blob/master/INSTALL.md , I successfully installed my local server and it is working. When I go to my server adress, the website just looks like OpenStreetMap's website.

enter image description here

Now I want to use in JOSM my local server instead of api.openstreetmap.org/api alt text But I have this error : Failed to retrieve a list of changesets from the OSM API server at 'http: //localhost'. The server responded with the return code 404 instead of 200. Please check the spelling and validate again

PolyGeo
65.5k29 gold badges115 silver badges350 bronze badges
asked Jun 7, 2016 at 10:39
1

1 Answer 1

3

I run a few internal OSM servers. There are a few things that can cause connection issues, but usually it is just a matter of the URL.

First, I assume you're not running https on your local server, so you will need to change that.

I don't think the servers run on the http port (80) by default. If not, you need to specify whichever port you're using that on the connection string.

You also need to make sure you're connecting to the API endpoint. I would expect it to look like this: http://localhost:3000/api

answered Jun 7, 2016 at 12:32
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.