chairemobilite / transition

Transition is a modern new approach to transit planning. It's a web application to model, simulate and plan public transit and alternative transportation.
http://transition.city
MIT License
20 stars 13 forks source link

osrm: local osrm servers listen on ipv4, but transition may look for ipv6 #821

Closed tahini closed 6 months ago

tahini commented 6 months ago

In most recent debian, ipv6 is looked up by default, so localhost:5000 for example will try to connect to [::1]:5000 for the osrm server. The server listens on 0.0.0.0 so it does not appear to exist. We should be able to specify the host to 127.0.0.1 in those cases