Closed stigok closed 3 years ago
it works properly when I use host
and port
kwargs instead of bind
. I should have read the code I posted more thoroughly
server.app.run(
host="0.0.0.0"
port="5000",
server="gunicorn",
worker_class="sync",
workers=5,
preload_app=True,
accesslog="-",
errorlog="-",
loglevel="debug",
capture_output=True,
keepalive=60,
debug=True,
)
When using e.g. gunicorn, Bottle's default listen address is printed
Then comes gunicorn and prints the actual configuration
https://github.com/bottlepy/bottle/blob/f9b1849db4dd724e36a93a1032be592193fba581/bottle.py#L3721-L3722
Using setup