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

Fail to connect my tiles server

0

Hi I am creating an Android app that displays an OpenStreetMap using osmdroid. On the tile server I am using: Mod_tile, renderd, mapnik, osm2pgsql and a postgresql/postgis database. I tried to connect this server using a firefox navigator from the same machine as the server and i succeed, but when I try to contact this server from other machine I fail. Can you give me the issue of this problème? Do you tried to connect such server with osmdroid? Thank you

asked 22 Feb '13, 14:02

Yahya_Romdhane's gravatar image

Yahya_Romdhane
25101014
accept rate: 0%

2

Could you provide any clues, such as any actual error that you're getting?

(24 Feb '13, 00:01) SomeoneElse ♦

One Answer:

2

Your Apache is probably configured to only accept connections from localhost. Check for "Allow from" and "Deny from" and "Order Allow,Deny" or "Order Deny,Allow" in your httpd config files /.htaccess files.

answered 24 Feb '13, 22:02

gormo's gravatar image

gormo
2.9k32660
accept rate: 13%

edited 24 Feb '13, 22:02

Source code available on GitHub .