cesium-terrain-server
cesium-terrain-server copied to clipboard
Cannot access Terrain Server for Cesium. Port issue?
I have a Node.js server running Cesium Apps in port 8080: http://localhost:8080/Apps/own_terrain.html
Path for the html file is:
C:/Users/username/Downloads/software/Cesium-1.53/Apps/own_terrain.html The terrain files have been generated by using: cesium-terrain-builder-docker
I just took as input a sample DEM in format tif (EPSG:4326) covering a small area in Europe.
Then, I want to run my terrain tiles using cesium-terrain-server in docker.
This is how I built it:
docker run -p 9000:8080 -v C:/Users/username/Downloads/software/Cesium-1.53/Apps/terrain:/data/tilesets/terrain
geodata/cesium-terrain-server
So, Cesium running in 8080 and terrain server in 9000,
I also added CORS functionality to my node server at 8080, but nothing has improved.
When I try to access the terrain tiles, i.e:
http://localhost:9000/tilesets/tiles/0/0/0.terrain Nothing happens, Chrome says:
localhost didn’t send any data. ERR_EMPTY_RESPONSE And the same when integrating that into the own_terrain.html:
Cesium.js:445 GET http://localhost:9000/tilesets/tiles/layer.json net::ERR_EMPTY_RESPONSE
What am I doing wrong?
same