diff --git a/bin/heat-api b/bin/heat-api index 77afe9d1f2..8917308c01 100755 --- a/bin/heat-api +++ b/bin/heat-api @@ -47,8 +47,10 @@ if __name__ == '__main__': app = config.load_paste_app(conf) + port = config.DEFAULT_PORT + print 'Starting Heat API on port %s' % port server = wsgi.Server() - server.start(app, conf, default_port=config.DEFAULT_PORT) + server.start(app, conf, default_port=port) server.wait() except RuntimeError, e: sys.exit("ERROR: %s" % e) diff --git a/bin/heat-engine b/bin/heat-engine index 1ec36aeb4c..d162bf27e0 100755 --- a/bin/heat-engine +++ b/bin/heat-engine @@ -43,8 +43,10 @@ if __name__ == '__main__': app = config.load_paste_app(conf) + port = config.DEFAULT_PORT+1 + print 'Starting Heat Engine on port %s' % port server = wsgi.Server() - server.start(app, conf, default_port=config.DEFAULT_PORT+1) + server.start(app, conf, default_port=port) server.wait() except RuntimeError, e: sys.exit("ERROR: %s" % e)