我正在按照here和here的指示来架起UAA服务器,但是得到了:
> Task :cargoRunLocal FAILED
org.codehaus.cargo.container.ContainerException: Deployable [http://localhost:8080/cargocpc/index.html] failed to finish deploying within the timeout period [540000]. The Deployable state is thus unknown.
FAILURE: Build failed with an exception.
当我按照这些说明中的说明通过./gradlew run
或UAA_CONFIG_URL=file://$PWD/uaa_config.yml ./gradlew run
运行它时:
,因此:
curl http://localhost:8080/uaa/token_keys
curl: (7) Failed to connect to localhost port 8080: Connection refused
是什么原因导致错误?
此外,我如何配置UAA使其监听其他端口,而不是默认配置的8080。该配置在哪里发生?