Permalink
Browse files

Fixed the uaa start up router registration to use the

loopback ip instead of localhost because the router
stopped routing requests to it.

Change-Id: Ide3e3949503543f99d4d7ab0ff514837f95f34f3
  • Loading branch information...
1 parent a65c312 commit 7cee31a47e2ae5ed5ebc98062ee6ed5dfab38d7b @joeldsa joeldsa committed May 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/uaa
View
@@ -70,7 +70,7 @@ File.open(pidfile, 'w') {|f| f.write(pid) }
logger.info("Preparing to launch NATS from #{pid}")
-router_msg = { :host => config["uaa"]["host"]||"localhost", :port => config["uaa"]["port"]||8080, :uris => config["uaa"]["uris"]||["uaa.vcap.me", "login.vcap.me"], :tags => {:component => "UAA"} }
+router_msg = { :host => config["uaa"]["host"]||"127.0.0.1", :port => config["uaa"]["port"]||8080, :uris => config["uaa"]["uris"]||["uaa.vcap.me", "login.vcap.me"], :tags => {:component => "UAA"} }
router_json = Yajl::Encoder.encode(router_msg)
# If there was more than one node the uuid should be #{index}-#{constant}

0 comments on commit 7cee31a

Please sign in to comment.