diff --git a/bin/swift-auth-server b/bin/swift-auth-server index 2f2a3eeb3d..a8f03c6e92 100755 --- a/bin/swift-auth-server +++ b/bin/swift-auth-server @@ -21,5 +21,4 @@ from swift.common.wsgi import run_wsgi if __name__ == '__main__': if len(sys.argv) != 2: sys.exit("Usage: %s CONFIG_FILE" % sys.argv[0]) - run_wsgi(sys.argv[1], 'auth-server', default_port=8080) - + run_wsgi(sys.argv[1], 'auth-server', default_port=11000) diff --git a/etc/auth-server.conf-sample b/etc/auth-server.conf-sample index ae02fb07da..0f818d4231 100644 --- a/etc/auth-server.conf-sample +++ b/etc/auth-server.conf-sample @@ -16,7 +16,7 @@ use = egg:swift#auth # log_facility = LOG_LOCAL0 # log_level = INFO # reseller_prefix = AUTH -# default_cluster_url = http://127.0.0.1:9000/v1 +# default_cluster_url = http://127.0.0.1:8080/v1 # token_life = 86400 # log_headers = False # node_timeout = 10 diff --git a/swift/auth/server.py b/swift/auth/server.py index 48b40ab50f..5658790c88 100644 --- a/swift/auth/server.py +++ b/swift/auth/server.py @@ -93,7 +93,7 @@ class AuthController(object): self.logger = get_logger(conf) self.swift_dir = conf.get('swift_dir', '/etc/swift') self.default_cluster_url = \ - conf.get('default_cluster_url', 'http://127.0.0.1:9000/v1') + conf.get('default_cluster_url', 'http://127.0.0.1:8080/v1') self.token_life = int(conf.get('token_life', 86400)) self.log_headers = conf.get('log_headers') == 'True' if ring: