Why not ask your question on the new OpenStreetMap Community Forum?

Hi, I have up the tile server and can view Slippymap.html, if run on same machine. When I call this page from some other system, it does not work. Any idea why?

I want to run the tile server on a machinde and to be able to view the tiles from another system.

asked 02 Jun '14, 11:32

Reshma%20Maner's gravatar image

Reshma Maner
accept rate: 0%


Why don't you also paste in the code you're trying to use?

(02 Jun '14, 11:39) Harry Wood

map = new OpenLayers.Map ("map" var newLayer = new OpenLayers.Layer.OSM("Local Tiles", "${z}/${x}/${y}.png", {numZoomLevels: 19}); map.addLayer(newLayer);

(02 Jun '14, 11:46) Reshma Maner

this page works fine if I run it on the same server as map tiles server. If I copy this html page to another server and try to run it from there, it does not work

(02 Jun '14, 11:54) Reshma Maner

Blindly guessing that your tile server is configured to allow traffic only from localhost. In case it is running apache, you need to configure it (depending on the installed os the place to start might be: /etc/apache2/sites-enabled/ ).

(02 Jun '14, 20:30) RM87

What OS is this on (and what Apache version)? It doesn't sound like a specific OSM problem.

(14 Aug '14, 17:06) SomeoneElse ♦
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 02 Jun '14, 11:32

question was seen: 4,101 times

last updated: 14 Aug '14, 17:07

powered by OSQA