我试图通过这些steps在Ubuntu服务器上安装tilestache。在完成步骤12之后,我尝试运行tilestache-server.py并用浏览器打开serverip:8080/osm/preview.html,但是网页不可用。当我在服务器端运行curl -IL "127.0.0.1:8080/osm/preview.html"时,它给出的响应如下:
HTTP/1.0 200 OK
Content-Type: text/html
Content-Length: 1137
Server: Werkzeug/0.10.4 Python/2.7.6
Date: Wed, 12 Aug 2015 08:48:05 GMT它看起来像是在本地运行,但无法从互联网访问。打开http://serverip会给我一个很好的apache默认页面结果。我该如何解决这个问题呢?
发布于 2015-09-07 17:47:39
Werkzeug运行自己的服务器,向tilestache.cfg添加"logging":"debug“应该会在命令行的日志中显示最终的问题。
我发现在Ubuntu上进行初始TileStache设置时,this guide非常容易。
https://stackoverflow.com/questions/31960492
复制相似问题