migurski/TileStache — comment on commit f35106dfeffa421698beb4e5d18b4e84f1f062b8
File:  line 0
By tadiraman:

Hey Mike,

After updated to latest release, I also noted that whatever i specify in the tilestache-server.py in the 'run_simple' function for (ip/app adress) & (port number), I cannot get to run the werkzeug/serving.py. It always shows a error message containing default ip & port(* Running on http://127.0.0.1:8080/).

I guess it happens in the code snippet,
-----------------------------------------------------------------------------------------------------
if os.environ.get('WERKZEUG_RUN_MAIN') != 'true':
display_hostname = hostname != '*' and hostname or 'localhost'
if ':' in display_hostname:
display_hostname = '[%s]' % display_hostname
_log('info', ' * Running on %s://%s:%d/', ssl_context is None
and 'http' or 'https', display_hostname, port)
------------------------------------------------------------------------------------------------------
Is there any fix for this? Like, it was running for me from localhost, but when I host this from Heroku it gets this error.

One thing I could try is, without mentioning "Tilestache" installation in requirements.txt to heroku, I can try to upload my own modified Tilestache from local drive. But, I am not sure thats going to work. Let see!

-Thanks
Raj