Skip to content

Commit

Permalink
Fixed the uaa start up router registration to use the
Browse files Browse the repository at this point in the history
loopback ip instead of localhost because the router
stopped routing requests to it.

Change-Id: Ide3e3949503543f99d4d7ab0ff514837f95f34f3
  • Loading branch information
joeldsa committed May 4, 2012
1 parent a65c312 commit 7cee31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/uaa
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 7cee31a

Please sign in to comment.