Unable to access http server

I have successfully deployed graphhopper on my local server. The problem is that i can access the server using localhost on the server but unable to access it using the server IP locally or from other machine on the same network.

PS: i didn’t use the docker

If you really want to expose your server in the public or you have it protected against external access you can remove this line in the config: https://github.com/graphhopper/graphhopper/blob/master/config-example.yml#L177 and restart it…

I have tried that but still facing same issue.

Have you setup your network correctly?

Yes, when deployed through docker it worked fine but not the other way around.

OK, i have solved the problem. I opened the port in firewall and it worked.

Powered by Discourse